From d45db3271e28dad2f6a15d2b59a6262597625332 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Wed, 7 Sep 2022 15:05:44 +0200 Subject: [PATCH] moves the generator into the spec folder - keep the repo tidier --- .../src/legacy/components/Example.ts | 24 - spec/Makefile | 66 +- spec/api_v0_openapi.json | 37 +- spec/enrichments/tsdoc_v1/combined.json | 37987 +++++----- spec/enrichments/tsdoc_v1/gotrue.json | 15129 ++-- spec/enrichments/tsdoc_v1/postgrest.json | 22858 +++--- spec/enrichments/tsdoc_v2/combined.json | 4627 +- .../tsdoc_v2/functions_dereferenced.json | 109 +- spec/enrichments/tsdoc_v2/gotrue.json | 20785 +++--- .../tsdoc_v2/gotrue_dereferenced.json | 754 +- spec/enrichments/tsdoc_v2/postgrest.json | 22180 +++--- .../tsdoc_v2/postgrest_dereferenced.json | 343 +- spec/enrichments/tsdoc_v2/realtime.json | 11777 ++- .../tsdoc_v2/realtime_dereferenced.json | 730 +- spec/enrichments/tsdoc_v2/storage.json | 13236 ++-- .../tsdoc_v2/storage_dereferenced.json | 465 +- spec/enrichments/tsdoc_v2/supabase.json | 58949 ++++++++-------- .../tsdoc_v2/supabase_dereferenced.json | 2246 +- .../generator/LegacyReferenceGenerator.ts | 0 {packages => spec}/generator/index.ts | 4 - .../generator/package-lock.json | 0 {packages => spec}/generator/package.json | 34 +- {packages => spec}/generator/src/docs/api.ts | 0 {packages => spec}/generator/src/docs/cli.ts | 0 .../generator/src/docs/config.ts | 0 .../generator/src/docs/helpers.ts | 0 .../generator/src/docs/index.ts | 0 {packages => spec}/generator/src/docs/sdk.ts | 0 .../src/docs/templates/ApiTemplate.ts | 0 .../src/docs/templates/CliTemplate.ts | 0 .../src/docs/templates/ConfigTemplate.ts | 0 .../src/docs/templates/SdkTemplate.ts | 0 .../src/legacy/components/Example.ts | 24 + .../generator/src/legacy/components/Page.ts | 0 .../src/legacy/components/Sidebar.ts | 0 .../src/legacy/components/SidebarCategory.ts | 0 .../generator/src/legacy/components/Tab.ts | 0 .../generator/src/legacy/components/Tabs.ts | 0 .../generator/src/legacy/definitions.ts | 0 .../generator/src/legacy/lib/helpers.ts | 0 .../generator/src/types/CliSpec.ts | 0 .../generator/src/types/ConfigSpec.ts | 0 .../generator/src/types/SdkSpec.ts | 0 .../generator/src/types/Spec.ts | 0 {packages => spec}/generator/tsconfig.json | 0 {packages => spec}/generator/tsdoc.ts | 0 spec/transforms/api_v0_openapi_deparsed.json | 301 +- .../storage_v0_openapi_deparsed.json | 331 +- 48 files changed, 99412 insertions(+), 113584 deletions(-) delete mode 100644 packages/generator/src/legacy/components/Example.ts rename {packages => spec}/generator/LegacyReferenceGenerator.ts (100%) rename {packages => spec}/generator/index.ts (85%) rename {packages => spec}/generator/package-lock.json (100%) rename {packages => spec}/generator/package.json (59%) rename {packages => spec}/generator/src/docs/api.ts (100%) rename {packages => spec}/generator/src/docs/cli.ts (100%) rename {packages => spec}/generator/src/docs/config.ts (100%) rename {packages => spec}/generator/src/docs/helpers.ts (100%) rename {packages => spec}/generator/src/docs/index.ts (100%) rename {packages => spec}/generator/src/docs/sdk.ts (100%) rename {packages => spec}/generator/src/docs/templates/ApiTemplate.ts (100%) rename {packages => spec}/generator/src/docs/templates/CliTemplate.ts (100%) rename {packages => spec}/generator/src/docs/templates/ConfigTemplate.ts (100%) rename {packages => spec}/generator/src/docs/templates/SdkTemplate.ts (100%) create mode 100644 spec/generator/src/legacy/components/Example.ts rename {packages => spec}/generator/src/legacy/components/Page.ts (100%) rename {packages => spec}/generator/src/legacy/components/Sidebar.ts (100%) rename {packages => spec}/generator/src/legacy/components/SidebarCategory.ts (100%) rename {packages => spec}/generator/src/legacy/components/Tab.ts (100%) rename {packages => spec}/generator/src/legacy/components/Tabs.ts (100%) rename {packages => spec}/generator/src/legacy/definitions.ts (100%) rename {packages => spec}/generator/src/legacy/lib/helpers.ts (100%) rename {packages => spec}/generator/src/types/CliSpec.ts (100%) rename {packages => spec}/generator/src/types/ConfigSpec.ts (100%) rename {packages => spec}/generator/src/types/SdkSpec.ts (100%) rename {packages => spec}/generator/src/types/Spec.ts (100%) rename {packages => spec}/generator/tsconfig.json (100%) rename {packages => spec}/generator/tsdoc.ts (100%) diff --git a/packages/generator/src/legacy/components/Example.ts b/packages/generator/src/legacy/components/Example.ts deleted file mode 100644 index c77a743a269..00000000000 --- a/packages/generator/src/legacy/components/Example.ts +++ /dev/null @@ -1,24 +0,0 @@ -type params = { name: string; description: string; tabs: string; note: string; } - -const Example = ({name, description = '', tabs = '', note = ''}: params) => { - if (note !== '') { - const [noteTitle, ...noteText] = note.split('\n'); - console.log(noteText); - note = ` -:::note ${noteTitle} - ${noteText.join('\n')} -::: -`; - } - return ` -### ${name} - -${description} - -${tabs} - -${note} -`.trim() -} - -export default Example diff --git a/spec/Makefile b/spec/Makefile index 386cfe74ce0..8e42e8fbb40 100644 --- a/spec/Makefile +++ b/spec/Makefile @@ -2,32 +2,10 @@ REPO_DIR=$(shell pwd) run: download transform format -# Format everything - easier for git to track changes -format: - npx prettier --write . - -# Transform docs into working files -transform: - npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/api_v0_openapi_deparsed.json $(REPO_DIR)/api_v0_openapi.json - npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/storage_v0_openapi_deparsed.json $(REPO_DIR)/storage_v0_openapi.json - - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:functions - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:gotrue - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:postgrest - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:realtime - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:storage - cd $(REPO_DIR)/../packages/generator && npm run tsdoc:dereference:supabase - - jq -s '{ name: "Combined Specs", children: [.[0], .[1], .[2], .[3], .[4], .[5]] }' \ - $(REPO_DIR)/enrichments/tsdoc_v2/supabase_dereferenced.json \ - $(REPO_DIR)/enrichments/tsdoc_v2/gotrue_dereferenced.json \ - $(REPO_DIR)/enrichments/tsdoc_v2/postgrest_dereferenced.json \ - $(REPO_DIR)/enrichments/tsdoc_v2/realtime_dereferenced.json \ - $(REPO_DIR)/enrichments/tsdoc_v2/storage_dereferenced.json \ - $(REPO_DIR)/enrichments/tsdoc_v2/functions_dereferenced.json \ - > $(REPO_DIR)/enrichments/tsdoc_v2/combined.json +############################################################################### # Download all the specs +############################################################################### download: download.api.v1 download.storage.v1 download.tsdoc.v1 download.api.v1: @@ -52,3 +30,43 @@ download.tsdoc.v1: $(REPO_DIR)/enrichments/tsdoc_v1/storage.json \ $(REPO_DIR)/enrichments/tsdoc_v1/functions.json \ > $(REPO_DIR)/enrichments/tsdoc_v1/combined.json + +############################################################################### +# Transform docs into working files +############################################################################### +transform: dereference.api.v0 dereference.storage.v0 dereference.tsdoc combine.tsdoc + +dereference.api.v0: + npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/api_v0_openapi_deparsed.json $(REPO_DIR)/api_v0_openapi.json + +dereference.storage.v0: + npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/storage_v0_openapi_deparsed.json $(REPO_DIR)/storage_v0_openapi.json + +dereference.tsdoc: + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:functions + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:gotrue + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:postgrest + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:realtime + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:storage + cd $(REPO_DIR)/generator && npm run tsdoc:dereference:supabase + +combine.tsdoc: + jq -s '{ name: "Combined Specs", children: [.[0], .[1], .[2], .[3], .[4], .[5]] }' \ + $(REPO_DIR)/enrichments/tsdoc_v2/supabase_dereferenced.json \ + $(REPO_DIR)/enrichments/tsdoc_v2/gotrue_dereferenced.json \ + $(REPO_DIR)/enrichments/tsdoc_v2/postgrest_dereferenced.json \ + $(REPO_DIR)/enrichments/tsdoc_v2/realtime_dereferenced.json \ + $(REPO_DIR)/enrichments/tsdoc_v2/storage_dereferenced.json \ + $(REPO_DIR)/enrichments/tsdoc_v2/functions_dereferenced.json \ + > $(REPO_DIR)/enrichments/tsdoc_v2/combined.json + +############################################################################### +# Format everything - easier for git to track changes +############################################################################### +format: + npx prettier --write . + +############################################################################### +# Generate the docs +############################################################################### + diff --git a/spec/api_v0_openapi.json b/spec/api_v0_openapi.json index d19ff69845d..618763abbe5 100644 --- a/spec/api_v0_openapi.json +++ b/spec/api_v0_openapi.json @@ -121,10 +121,11 @@ } } }, + "403": { "description": "" }, "500": { "description": "Failed to retrieve project's functions" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] }, "post": { "operationId": "createFunction", @@ -152,10 +153,11 @@ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } } } }, + "403": { "description": "" }, "500": { "description": "Failed to create project's function" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] } }, "/v1/projects/{ref}/functions/{function_slug}": { @@ -182,7 +184,7 @@ "required": true, "in": "path", "description": "Function slug", - "schema": { "pattern": {}, "type": "string" } + "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } ], "responses": { @@ -194,10 +196,11 @@ } } }, + "403": { "description": "" }, "500": { "description": "Failed to retrieve function with given slug" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] }, "patch": { "operationId": "UpdateFunction", @@ -216,7 +219,7 @@ "required": true, "in": "path", "description": "Function slug", - "schema": { "pattern": {}, "type": "string" } + "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } ], "requestBody": { @@ -232,10 +235,11 @@ "application/json": { "schema": { "$ref": "#/components/schemas/FunctionResponse" } } } }, + "403": { "description": "" }, "500": { "description": "Failed to update function with given slug" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] }, "delete": { "operationId": "deleteFunction", @@ -254,15 +258,16 @@ "required": true, "in": "path", "description": "Function slug", - "schema": { "pattern": {}, "type": "string" } + "schema": { "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } ], "responses": { "200": { "description": "" }, + "403": { "description": "" }, "500": { "description": "Failed to delete function with given slug" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] } }, "/v1/projects/{ref}/secrets": { @@ -291,10 +296,11 @@ } } }, + "403": { "description": "" }, "500": { "description": "Failed to retrieve project's secrets" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] }, "post": { "operationId": "createSecrets", @@ -322,10 +328,11 @@ }, "responses": { "201": { "description": "" }, + "403": { "description": "" }, "500": { "description": "Failed to create project's secrets" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] }, "delete": { "operationId": "deleteSecrets", @@ -351,10 +358,11 @@ "description": "", "content": { "application/json": { "schema": { "type": "object" } } } }, + "403": { "description": "" }, "500": { "description": "Failed to delete secrets with given names" } }, "tags": ["projects"], - "security": [{ "bearer": [] }] + "security": [{ "apiKeyHeader": [], "apiKeyParam": [] }, { "bearer": [] }] } }, "/v1/projects/{ref}/pgsodium": { @@ -457,7 +465,8 @@ "ap-south-1", "sa-east-1" ] - } + }, + "kps_enabled": { "type": "boolean" } }, "required": ["db_pass", "name", "organization_id", "plan", "region"] }, @@ -488,7 +497,7 @@ "CreateFunctionBody": { "type": "object", "properties": { - "slug": { "type": "string", "pattern": {} }, + "slug": { "type": "string", "pattern": "/^[A-Za-z0-9_-]+$/" }, "name": { "type": "string" }, "body": { "type": "string" }, "verify_jwt": { "type": "boolean" } @@ -527,7 +536,7 @@ "type": "object", "properties": { "name": { "type": "string" }, - "value": { "type": "string", "pattern": {} } + "value": { "type": "string", "pattern": "/^(?!SUPABASE_).*/" } }, "required": ["name", "value"] }, diff --git a/spec/enrichments/tsdoc_v1/combined.json b/spec/enrichments/tsdoc_v1/combined.json index 03bf7f46f0d..a39a614c4fa 100644 --- a/spec/enrichments/tsdoc_v1/combined.json +++ b/spec/enrichments/tsdoc_v1/combined.json @@ -22037,9 +22037,1926 @@ "flags": {}, "originalName": "", "children": [ + { + "id": 499, + "name": "AuthApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 500, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "signatures": [ + { + "id": 501, + "name": "new AuthApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 502, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 503, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 504, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 505, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2 + } + ], + "signatures": [ + { + "id": 506, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 507, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 509, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 508, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 510, + "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": [509, 508, 510] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [500] + }, + { + "title": "Properties", + "kind": 1024, + "children": [504] + }, + { + "title": "Methods", + "kind": 2048, + "children": [505] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 494, + "name": "AuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 495, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2 + } + ], + "signatures": [ + { + "id": 496, + "name": "new AuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 497, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [495] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 559, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 560, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 2 + } + ], + "signatures": [ + { + "id": 561, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 562, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 564, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 566, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 565, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [566, 565] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 567, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 570, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 569, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [570, 569] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 581, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 582, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 571, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 2 + } + ], + "signatures": [ + { + "id": 572, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 573, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 577, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 578, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 580, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 579, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [580, 579] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 575, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 574, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 81, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 576, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [577, 575, 574, 576] + } + ] + } + }, + "overwrites": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "overwrites": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [560] + }, + { + "title": "Properties", + "kind": 1024, + "children": [567, 581, 582] + }, + { + "title": "Methods", + "kind": 2048, + "children": [571] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 72, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 546, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 547, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 548, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 549, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 550, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 551, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 552, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 553, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 554, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 556, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 555, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 557, + "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": [556, 555, 557] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [547] + }, + { + "title": "Properties", + "kind": 1024, + "children": [550, 551] + }, + { + "title": "Methods", + "kind": 2048, + "children": [552] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 584, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 585, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 586, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 587, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 588, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 589, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 590, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 591, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 592, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 593, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 595, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 594, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 596, + "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": [595, 594, 596] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [585] + }, + { + "title": "Properties", + "kind": 1024, + "children": [589, 590] + }, + { + "title": "Methods", + "kind": 2048, + "children": [591] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 534, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 535, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 2 + } + ], + "signatures": [ + { + "id": 536, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 537, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 538, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 539, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 540, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 541, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 543, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 542, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 544, + "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": [543, 542, 544] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [535] + }, + { + "title": "Properties", + "kind": 1024, + "children": [537, 538] + }, + { + "title": "Methods", + "kind": 2048, + "children": [539] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 512, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 513, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 515, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 516, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 517, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [513] + }, + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 519, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 520, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 521, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 522, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 523, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 525, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "AuthError.name" + } + }, + { + "id": 526, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 527, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 528, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 529, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 531, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 530, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 532, + "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": [531, 530, 532] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [520] + }, + { + "title": "Properties", + "kind": 1024, + "children": [525, 526] + }, + { + "title": "Methods", + "kind": 2048, + "children": [527] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 42, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + } + ] + }, { "id": 1, - "name": "GoTrueApi", + "name": "GoTrueAdminApi", "kind": 128, "kindString": "Class", "flags": {}, @@ -22052,15 +23969,15 @@ "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 25, + "fileName": "src/GoTrueAdminApi.ts", + "line": 19, "character": 2 } ], "signatures": [ { "id": 3, - "name": "new GoTrueApi", + "name": "new GoTrueAdminApi", "kind": 16384, "kindString": "Constructor signature", "flags": {}, @@ -22082,27 +23999,6 @@ "children": [ { "id": 11, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 35, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 12, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -22111,42 +24007,53 @@ }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 36, + "fileName": "src/GoTrueAdminApi.ts", + "line": 28, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 13, + "id": 12, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 14, + "id": 13, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 15, + "id": 14, "name": "input", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { - "id": 16, + "id": 15, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -22190,8 +24097,8 @@ }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 32, + "fileName": "src/GoTrueAdminApi.ts", + "line": 25, "character": 4 } ], @@ -22237,8 +24144,8 @@ "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 31, + "fileName": "src/GoTrueAdminApi.ts", + "line": 24, "character": 4 } ], @@ -22252,7 +24159,7 @@ { "title": "Properties", "kind": 1024, - "children": [11, 12, 7, 6] + "children": [11, 7, 6] } ] } @@ -22268,294 +24175,38 @@ ] }, { - "id": 22, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 22, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 23, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 24, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 25, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 26, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 27, - "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": 18, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 19, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 19, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 20, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 21, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 17, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 18, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 28, - "name": "_createRequestHeaders", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 49, - "character": 10 - } - ], - "signatures": [ - { - "id": 29, - "name": "_createRequestHeaders", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods" - }, - "parameters": [ - { - "id": 30, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - } - ] - }, - { - "id": 32, - "name": "cookieName", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 55, - "character": 10 - } - ], - "signatures": [ - { - "id": 33, - "name": "cookieName", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 196, + "id": 41, "name": "createUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 659, + "fileName": "src/GoTrueAdminApi.ts", + "line": 126, "character": 8 } ], "signatures": [ { - "id": 197, + "id": 42, "name": "createUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a new user.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser." }, "parameters": [ { - "id": 198, + "id": 43, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, - "comment": { - "shortText": "The data you want to create the user with.\n" - }, "type": { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } } @@ -22564,158 +24215,9 @@ "type": "reference", "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 199, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 201, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 18 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 202, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 30 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } - }, - { - "id": 200, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [201, 202, 200] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 203, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 205, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 64 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - }, - { - "id": 206, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 76 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 204, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 52 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [205, 206, 204] - } - ] - } - } - ] + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -22726,148 +24228,37 @@ ] }, { - "id": 173, - "name": "deleteAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 549, - "character": 2 - } - ], - "signatures": [ - { - "id": 174, - "name": "deleteAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes the Auth Cookies and redirects to the" - }, - "parameters": [ - { - "id": 175, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 176, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 177, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Optionally specify a `redirectTo` URL in the options.\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 178, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 179, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 549, - "character": 63 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [179] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 241, + "id": 63, "name": "deleteUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 799, + "fileName": "src/GoTrueAdminApi.ts", + "line": 216, "character": 8 } ], "signatures": [ { - "id": 242, + "id": 64, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Delete a user. Requires a `service_role` key.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "shortText": "Delete a user. Requires a `service_role` key." }, "parameters": [ { - "id": 243, - "name": "uid", + "id": 65, + "name": "id", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The user uid you want to remove.\n" + "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", @@ -22879,107 +24270,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 246, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 247, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 245, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [246, 247, 245] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -22990,524 +24283,39 @@ ] }, { - "id": 184, + "id": 38, "name": "generateLink", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 616, + "fileName": "src/GoTrueAdminApi.ts", + "line": 92, "character": 8 } ], "signatures": [ { - "id": 185, + "id": 39, "name": "generateLink", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Generates links to be sent via email or other." + "shortText": "Generates email links and OTPs to be sent via a custom email provider." }, "parameters": [ { - "id": 186, - "name": "type", + "id": 40, + "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, - "comment": { - "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")." - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - }, - { - "id": 187, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's email." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 188, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 189, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 627, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 190, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 626, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 192, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 628, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [191, 190, 192] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 193, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 194, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 630, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 195, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 630, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [194, 195] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 180, - "name": "getAuthCookieString", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 568, - "character": 2 - } - ], - "signatures": [ - { - "id": 181, - "name": "getAuthCookieString", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.", - "returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n" - }, - "parameters": [ - { - "id": 182, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 183, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ] - }, - { - "id": 34, - "name": "getUrlForProvider", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 65, - "character": 2 - } - ], - "signatures": [ - { - "id": 35, - "name": "getUrlForProvider", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Generates the relevant login URL for a third-party provider." - }, - "parameters": [ - { - "id": 36, - "name": "provider", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, "type": { "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 37, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 41, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 70, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 42, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 43, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 44, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 39, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 68, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 40, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 69, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [41, 39, 40] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 248, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 826, - "character": 8 - } - ], - "signatures": [ - { - "id": 249, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Gets the current user details.", - "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n" - }, - "parameters": [ - { - "id": 250, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n" - }, - "type": { - "type": "intrinsic", - "name": "string" + "id": 458, + "name": "GenerateLinkParams" } } ], @@ -23515,107 +24323,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 251, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 253, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 254, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 252, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [253, 254, 252] - } - ] - } + "type": "reference", + "id": 459, + "name": "GenerateLinkResponse" } ], "qualifiedName": "Promise", @@ -23626,211 +24336,21 @@ ] }, { - "id": 224, - "name": "getUserByCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 714, - "character": 8 - } - ], - "signatures": [ - { - "id": 225, - "name": "getUserByCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 226, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 227, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 228, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 231, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 720, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 232, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 721, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 229, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 718, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 230, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 719, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [231, 232, 229, 230] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 215, + "id": 56, "name": "getUserById", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 697, + "fileName": "src/GoTrueAdminApi.ts", + "line": 171, "character": 8 } ], "signatures": [ { - "id": 216, + "id": 57, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -23840,7 +24360,7 @@ }, "parameters": [ { - "id": 217, + "id": 58, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -23858,121 +24378,9 @@ "type": "reference", "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 218, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 219, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 15 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 220, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 27 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [219, 220] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 221, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 222, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 49 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - }, - { - "id": 223, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 61 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [222, 223] - } - ] - } - } - ] + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -23983,21 +24391,21 @@ ] }, { - "id": 142, + "id": 31, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 419, + "fileName": "src/GoTrueAdminApi.ts", + "line": 62, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 32, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -24007,7 +24415,7 @@ }, "parameters": [ { - "id": 144, + "id": 33, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -24021,7 +24429,7 @@ } }, { - "id": 145, + "id": 34, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -24029,24 +24437,27 @@ "type": { "type": "reflection", "declaration": { - "id": 146, + "id": 35, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 148, + "id": 37, "name": "data", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Optional user metadata\n" + }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 423, + "fileName": "src/GoTrueAdminApi.ts", + "line": 66, "character": 6 } ], @@ -24056,17 +24467,20 @@ } }, { - "id": 147, + "id": 36, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "A URL or mobile deeplink to send the user to after they are confirmed." + }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 422, + "fileName": "src/GoTrueAdminApi.ts", + "line": 65, "character": 6 } ], @@ -24080,7 +24494,7 @@ { "title": "Properties", "kind": 1024, - "children": [148, 147] + "children": [37, 36] } ] } @@ -24092,79 +24506,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 149, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 150, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 425, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 151, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 425, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [150, 151] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -24175,21 +24519,21 @@ ] }, { - "id": 207, + "id": 44, "name": "listUsers", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, + "fileName": "src/GoTrueAdminApi.ts", + "line": 147, "character": 8 } ], "signatures": [ { - "id": 208, + "id": 45, "name": "listUsers", "kind": 4096, "kindString": "Call signature", @@ -24207,22 +24551,77 @@ { "type": "reflection", "declaration": { - "id": 209, + "id": 46, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 210, + "id": 47, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 48, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 49, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 14 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 310, + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [49] + } + ] + } + } + }, + { + "id": 50, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, "character": 31 } ], @@ -24230,32 +24629,13 @@ "type": "literal", "value": null } - }, - { - "id": 211, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 43 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [210, 211] + "children": [47, 50] } ] } @@ -24263,50 +24643,79 @@ { "type": "reflection", "declaration": { - "id": 212, + "id": 51, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 213, + "id": 52, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 65 + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 49 } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 505, - "name": "User" + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 54, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 57 + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [54] + } + ] } } }, { - "id": 214, + "id": 55, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 79 + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 70 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 494, + "name": "AuthError" } } ], @@ -24314,7 +24723,7 @@ { "title": "Properties", "kind": 1024, - "children": [213, 214] + "children": [52, 55] } ] } @@ -24330,1332 +24739,21 @@ ] }, { - "id": 163, - "name": "refreshAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 479, - "character": 8 - } - ], - "signatures": [ - { - "id": 164, - "name": "refreshAccessToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Generates a new JWT." - }, - "parameters": [ - { - "id": 165, - "name": "refreshToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid refresh token that was returned on login.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 167, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 481, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 168, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 481, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [167, 168] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 152, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 450, - "character": 8 - } - ], - "signatures": [ - { - "id": 153, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a reset request to an email address." - }, - "parameters": [ - { - "id": 154, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 155, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 158, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 454, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 157, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 453, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [158, 157] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 160, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 456, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 162, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 456, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [160, 162] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 95, - "name": "sendMagicLinkEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 272, - "character": 8 - } - ], - "signatures": [ - { - "id": 96, - "name": "sendMagicLinkEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a magic login link to an email address." - }, - "parameters": [ - { - "id": 97, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 98, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 99, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 102, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 277, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 101, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 276, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 100, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 275, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [102, 101, 100] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 103, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 104, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 279, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 106, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 279, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [104, 106] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 107, - "name": "sendMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 310, - "character": 8 - } - ], - "signatures": [ - { - "id": 108, - "name": "sendMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" - }, - "parameters": [ - { - "id": 109, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 110, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 111, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 113, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 314, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 112, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 313, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [113, 112] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 114, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 115, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 316, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 116, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 117, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 316, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [115, 117] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 169, - "name": "setAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 503, - "character": 2 - } - ], - "signatures": [ - { - "id": 170, - "name": "setAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 171, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 172, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object.\n" - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 57, - "name": "signInWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 139, - "character": 8 - } - ], - "signatures": [ - { - "id": 58, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 59, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 60, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 61, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 62, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 64, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 144, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 63, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 143, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [64, 63] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 65, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 66, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 146, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 67, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 146, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [66, 67] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 89, - "name": "signInWithOpenIDConnect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 241, - "character": 8 - } - ], - "signatures": [ - { - "id": 90, - "name": "signInWithOpenIDConnect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an OpenID Connect user using their id_token." - }, - "parameters": [ - { - "id": 91, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 92, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 93, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 247, - "character": 42 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 94, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 247, - "character": 64 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [93, 94] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 79, - "name": "signInWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 209, - "character": 8 - } - ], - "signatures": [ - { - "id": 80, - "name": "signInWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an existing user using their phone number and password." - }, - "parameters": [ - { - "id": 81, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 82, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 83, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 85, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 213, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [85] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 215, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 88, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 215, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [87, 88] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 118, + "id": 26, "name": "signOut", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 340, + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, "character": 8 } ], "signatures": [ { - "id": 119, + "id": 27, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -25665,7 +24763,7 @@ }, "parameters": [ { - "id": 120, + "id": 28, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -25685,22 +24783,22 @@ { "type": "reflection", "declaration": { - "id": 121, + "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 122, + "id": 30, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 340, + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, "character": 40 } ], @@ -25713,8 +24811,8 @@ }, { "type": "reference", - "id": 483, - "name": "ApiError" + "id": 494, + "name": "AuthError" } ] } @@ -25724,7 +24822,7 @@ { "title": "Properties", "kind": 1024, - "children": [122] + "children": [30] } ] } @@ -25738,632 +24836,21 @@ ] }, { - "id": 45, - "name": "signUpWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 98, - "character": 8 - } - ], - "signatures": [ - { - "id": 46, - "name": "signUpWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new user using their email address.", - "returns": "A logged-in session if the server has \"autoconfirm\" ON" - }, - "parameters": [ - { - "id": 47, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 48, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 49, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 50, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 53, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 104, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 52, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 103, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 51, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 102, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [53, 52, 51] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 54, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 55, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 106, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 56, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 106, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [55, 56] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 68, - "name": "signUpWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 174, - "character": 8 - } - ], - "signatures": [ - { - "id": 69, - "name": "signUpWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Signs up a new user using their phone number and a password." - }, - "parameters": [ - { - "id": 70, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 72, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 73, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 75, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 179, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 74, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 178, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [75, 74] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 77, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 181, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 78, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 181, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [77, 78] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 255, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 844, - "character": 8 - } - ], - "signatures": [ - { - "id": 256, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 257, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 258, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The data you want to update.\n" - }, - "type": { - "type": "reference", - "id": 533, - "name": "UserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 259, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 261, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 262, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 260, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [261, 262, 260] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 233, + "id": 59, "name": "updateUserById", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 777, + "fileName": "src/GoTrueAdminApi.ts", + "line": 193, "character": 8 } ], "signatures": [ { - "id": 234, + "id": 60, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -26373,7 +24860,7 @@ }, "parameters": [ { - "id": 235, + "id": 61, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -26384,7 +24871,7 @@ } }, { - "id": 236, + "id": 62, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -26394,7 +24881,7 @@ }, "type": { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } } @@ -26403,478 +24890,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 239, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 240, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 238, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [239, 240, 238] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 123, - "name": "verifyMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 360, - "character": 8 - } - ], - "signatures": [ - { - "id": 124, - "name": "verifyMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `verifyOTP` instead!" - } - ] - }, - "parameters": [ - { - "id": 125, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "token that user was sent to their mobile phone" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 128, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 129, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 364, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [129] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 130, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 131, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 366, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 132, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 366, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [131, 132] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 133, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 391, - "character": 8 - } - ], - "signatures": [ - { - "id": 134, - "name": "verifyOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Send User supplied Email / Mobile OTP to be verified" - }, - "parameters": [ - { - "id": 135, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { "type": "reference", - "id": 570, - "name": "VerifyOTPParams" - } - }, - { - "id": 136, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 137, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 138, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 394, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [138] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 139, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 140, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 396, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 141, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 396, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [140, 141] - } - ] - } + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -26891,37 +24909,29 @@ "kind": 512, "children": [2] }, - { - "title": "Properties", - "kind": 1024, - "children": [22, 23, 18, 17] - }, { "title": "Methods", "kind": 2048, - "children": [ - 28, 32, 196, 173, 241, 184, 180, 34, 248, 224, 215, 142, 207, 163, 152, 95, 107, - 169, 57, 89, 79, 118, 45, 68, 255, 233, 123, 133 - ] + "children": [41, 63, 38, 56, 31, 44, 26, 59] } ], "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 17, + "fileName": "src/GoTrueAdminApi.ts", + "line": 12, "character": 21 } ] }, { - "id": 263, + "id": 66, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 264, + "id": 67, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -26929,13 +24939,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 82, + "line": 104, "character": 2 } ], "signatures": [ { - "id": 265, + "id": 68, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -26945,380 +24955,39 @@ }, "parameters": [ { - "id": 266, + "id": 69, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reflection", - "declaration": { - "id": 267, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 274, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 86, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 278, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 90, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 273, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 85, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 279, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 91, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 280, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 281, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "A custom fetch implementation.\n" - }, - "parameters": [ - { - "id": 282, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 283, - "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": 269, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Any additional headers to send to the GoTrue server." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 84, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 270, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 271, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 272, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 276, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Provide your own local storage implementation to use instead of the browser's local storage." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 88, - "character": 4 - } - ], - "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": 277, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"false\" if you want to disable multi-tab/window events." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 89, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 275, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically save the user session into local storage." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 87, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 268, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL of the GoTrue server." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 83, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [274, 278, 273, 279, 269, 276, 277, 275, 268] - } - ] - } + "type": "reference", + "id": 241, + "name": "GoTrueClientOptions" } } ], "type": { "type": "reference", - "id": 263, + "id": 66, "name": "default" } } ] }, { - "id": 284, - "name": "api", + "id": 70, + "name": "admin", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password." + "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 52, + "line": 68, "character": 2 } ], @@ -27329,1985 +24998,301 @@ } }, { - "id": 287, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 62, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 286, - "name": "currentSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "comment": { - "shortText": "The session object for the currently logged in user or null." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 285, - "name": "currentUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "comment": { - "shortText": "The currently logged in user or null." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 56, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 289, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 64, - "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": 290, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 65, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 293, - "name": "networkRetries", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 68, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "0" - }, - { - "id": 288, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 63, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 292, - "name": "refreshTokenTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 67, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "NodeJS.Timeout", - "package": "@types/node", - "name": "Timeout" - } - }, - { - "id": 291, - "name": "stateChangeEmitters", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 66, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 549, - "name": "Subscription" - } - ], - "qualifiedName": "Map", - "package": "typescript", - "name": "Map" - }, - "defaultValue": "..." - }, - { - "id": 454, - "name": "_callRefreshToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 695, - "character": 16 - } - ], - "signatures": [ - { - "id": 455, - "name": "_callRefreshToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 456, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 457, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 458, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 459, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [458, 459] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 461, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 462, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [461, 462] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 383, - "name": "_handleEmailSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 520, - "character": 16 - } - ], - "signatures": [ - { - "id": 384, - "name": "_handleEmailSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 385, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 387, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 390, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 525, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 389, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 524, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [390, 389] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 391, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 392, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 395, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 394, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 393, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [392, 395, 394, 393] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 396, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 397, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 400, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 399, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - }, - "defaultValue": "data" - }, - { - "id": 398, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - }, - "defaultValue": "data.user" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [397, 400, 399, 398] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 443, - "name": "_handleOpenIDConnectSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 595, - "character": 16 - } - ], - "signatures": [ - { - "id": 444, - "name": "_handleOpenIDConnectSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 445, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 446, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 449, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 604, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 447, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 602, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 448, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 603, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [449, 447, 448] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 401, - "name": "_handlePhoneSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 546, - "character": 16 - } - ], - "signatures": [ - { - "id": 402, - "name": "_handlePhoneSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 403, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 406, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 407, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 550, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [407] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 412, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 411, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 410, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [409, 412, 411, 410] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 413, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 414, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 417, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 416, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - }, - "defaultValue": "data" - }, - { - "id": 415, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - }, - "defaultValue": "data.user" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [414, 417, 416, 415] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 418, - "name": "_handleProviderSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 568, - "character": 10 - } - ], - "signatures": [ - { - "id": 419, - "name": "_handleProviderSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 420, - "name": "provider", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 421, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 422, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 425, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 573, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 426, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 427, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 428, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 423, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 571, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 424, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 572, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [425, 423, 424] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 429, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 432, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 435, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 430, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 433, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 431, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 434, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [432, 435, 430, 433, 431, 434] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 437, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 440, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - }, - "defaultValue": "..." - }, - { - "id": 441, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 439, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 442, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 438, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [437, 440, 441, 439, 442, 438] - } - ] - } - } - ] - } - } - ] - }, - { - "id": 479, - "name": "_handleVisibilityChange", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 800, - "character": 10 - } - ], - "signatures": [ - { - "id": 480, - "name": "_handleVisibilityChange", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": false - } - ] - } - } - ] - }, - { - "id": 477, - "name": "_listenForMultiTabEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 777, - "character": 10 - } - ], - "signatures": [ - { - "id": 478, - "name": "_listenForMultiTabEvents", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Listens for changes to LocalStorage and updates the current session." - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": false - } - ] - } - } - ] - }, - { - "id": 463, - "name": "_notifyAllSubscribers", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 714, - "character": 10 - } - ], - "signatures": [ - { - "id": 464, - "name": "_notifyAllSubscribers", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 465, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 482, - "name": "AuthChangeEvent" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 469, - "name": "_persistSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 741, - "character": 10 - } - ], - "signatures": [ - { - "id": 470, - "name": "_persistSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 471, - "name": "currentSession", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 452, - "name": "_recoverAndRefresh", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 650, - "character": 16 - } - ], - "signatures": [ - { - "id": 453, - "name": "_recoverAndRefresh", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 450, - "name": "_recoverSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 630, - "character": 10 - } - ], - "signatures": [ - { - "id": 451, - "name": "_recoverSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor." - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ] - }, - { - "id": 472, - "name": "_removeSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 746, - "character": 16 - } - ], - "signatures": [ - { - "id": 473, - "name": "_removeSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 466, - "name": "_saveSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 722, - "character": 10 - } - ], - "signatures": [ - { - "id": 467, - "name": "_saveSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible" - }, - "parameters": [ - { - "id": 468, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 474, - "name": "_startAutoRefreshToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 757, - "character": 10 - } - ], - "signatures": [ - { - "id": 475, - "name": "_startAutoRefreshToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Clear and re-create refresh token timer" - }, - "parameters": [ - { - "id": 476, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "time intervals in milliseconds\n" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 361, - "name": "getSessionFromUrl", + "id": 111, + "name": "getSession", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 428, + "line": 407, "character": 8 } ], "signatures": [ { - "id": 362, - "name": "getSessionFromUrl", + "id": 112, + "name": "getSession", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Gets the session data from a URL string" + "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." }, - "parameters": [ - { - "id": 363, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 364, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 365, - "name": "storeSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optionally store the session in the browser\n" - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 429, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365] - } - ] - } - } - } - ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 366, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 367, - "name": "data", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 113, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/GoTrueClient.ts", - "line": 430, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 114, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 409, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 116, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 410, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [116] + } + ] + } + } + }, + { + "id": 117, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 412, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" } - ] - } - }, - { - "id": 368, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 430, - "character": 38 } ], - "type": { - "type": "union", - "types": [ - { + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [114, 117] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 118, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 119, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 415, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 121, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 416, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [121] + } + ] + } + } + }, + { + "id": 122, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 418, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [119, 122] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 124, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 421, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 125, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 126, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 422, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [126] + } + ] + } + } + }, + { + "id": 127, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 424, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [124, 127] + } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [367, 368] - } - ] - } + } + ] } ], "qualifiedName": "Promise", @@ -29318,7 +25303,103 @@ ] }, { - "id": 373, + "id": 128, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 470, + "character": 8 + } + ], + "signatures": [ + { + "id": 129, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Gets the current user details if there is an existing session." + }, + "parameters": [ + { + "id": 130, + "name": "jwt", + "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" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 92, + "name": "initialize", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 93, + "name": "initialize", + "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)." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 481, + "name": "InitializeResult" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 157, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -29326,58 +25407,60 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 500, + "line": 665, "character": 2 } ], "signatures": [ { - "id": 374, + "id": 158, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Receive a notification every time an auth event happens.", - "returns": "A subscription object which can be used to unsubscribe itself.\n" + "shortText": "Receive a notification every time an auth event happens." }, "parameters": [ { - "id": 375, + "id": 159, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": {}, + "comment": { + "shortText": "A callback function to be invoked when an auth event happens.\n" + }, "type": { "type": "reflection", "declaration": { - "id": 376, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 377, + "id": 161, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 378, + "id": 162, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 482, + "id": 240, "name": "AuthChangeEvent" } }, { - "id": 379, + "id": 163, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -29391,7 +25474,7 @@ }, { "type": "reference", - "id": 486, + "id": 291, "name": "Session" } ] @@ -29411,14 +25494,14 @@ "type": { "type": "reflection", "declaration": { - "id": 380, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 381, + "id": 165, "name": "data", "kind": 1024, "kindString": "Property", @@ -29426,51 +25509,47 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 501, + "line": 666, "character": 4 } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 549, - "name": "Subscription" - } - ] - } - }, - { - "id": 382, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 502, - "character": 4 + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 666, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 352, + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [167] + } + ] } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] } } ], @@ -29478,7 +25557,7 @@ { "title": "Properties", "kind": 1024, - "children": [381, 382] + "children": [165] } ] } @@ -29487,392 +25566,45 @@ ] }, { - "id": 339, - "name": "refreshSession", + "id": 168, + "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 339, + "line": 688, "character": 8 } ], "signatures": [ { - "id": 340, - "name": "refreshSession", + "id": 169, + "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Force refreshes the session including the user data in case it was updated in a different session." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 342, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 340, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 344, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 342, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 343, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 341, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [342, 344, 343] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 337, - "name": "session", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 332, - "character": 2 - } - ], - "signatures": [ - { - "id": 338, - "name": "session", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the session data, if there is an active session." - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - } - ] - }, - { - "id": 358, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 411, - "character": 2 - } - ], - "signatures": [ - { - "id": 359, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests." + "shortText": "Sends a password reset request to an email address." }, "parameters": [ { - "id": 360, - "name": "access_token", + "id": 170, + "name": "email", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "a jwt access token\n" + "shortText": "The email address of the user." }, "type": { "type": "intrinsic", "name": "string" } - } - ], - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ] - }, - { - "id": 352, - "name": "setSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 387, - "character": 8 - } - ], - "signatures": [ - { - "id": 353, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the session data from refresh_token and returns current Session and Error" - }, - "parameters": [ - { - "id": 354, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "a JWT token\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 355, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 357, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 389, - "character": 40 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 356, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 389, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [357, 356] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 306, - "name": "signIn", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 197, - "character": 8 - } - ], - "signatures": [ - { - "id": 307, - "name": "signIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user, or login via a third-party provider." - }, - "parameters": [ - { - "id": 308, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 563, - "name": "UserCredentials" - } }, { - "id": 309, + "id": 171, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -29880,24 +25612,27 @@ "type": { "type": "reflection", "declaration": { - "id": 310, + "id": 172, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 174, "name": "captchaToken", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site.\n" + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 203, + "line": 692, "character": 6 } ], @@ -29907,66 +25642,20 @@ } }, { - "id": 315, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 204, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 316, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 317, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 318, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 311, + "id": 173, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "The URL to send the user to after they click the password reset link." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 200, + "line": 691, "character": 6 } ], @@ -29974,53 +25663,13 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 313, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 202, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 312, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 201, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [314, 315, 311, 313, 312] + "children": [174, 173] } ] } @@ -30032,157 +25681,126 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 319, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 324, - "name": "error", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 175, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/GoTrueClient.ts", - "line": 211, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 176, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 696, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 178, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 697, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" } - ] - } - }, - { - "id": 322, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 209, - "character": 4 } ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 320, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "groups": [ { - "fileName": "src/GoTrueClient.ts", - "line": 207, - "character": 4 + "title": "Properties", + "kind": 1024, + "children": [176, 178] } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 323, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 210, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 321, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 208, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [324, 322, 320, 323, 321] + }, + { + "type": "reflection", + "declaration": { + "id": 179, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 180, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 181, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [180, 181] + } + ] } - ] - } + } + ] } ], "qualifiedName": "Promise", @@ -30193,7 +25811,221 @@ ] }, { - "id": 369, + "id": 134, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 534, + "character": 8 + } + ], + "signatures": [ + { + "id": 135, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid." + }, + "parameters": [ + { + "id": 136, + "name": "refresh_token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A refresh token returned by supabase auth.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 102, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 306, + "character": 8 + } + ], + "signatures": [ + { + "id": 103, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 104, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 403, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 267, + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 105, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 321, + "character": 8 + } + ], + "signatures": [ + { + "id": 106, + "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": 107, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 389, + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 99, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 256, + "character": 8 + } + ], + "signatures": [ + { + "id": 100, + "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": 101, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 376, + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 153, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -30201,20 +26033,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 485, + "line": 646, "character": 8 } ], "signatures": [ { - "id": 370, + "id": 154, "name": "signOut", "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)`. There is no way to revoke a user's session JWT before it automatically expires\n" + "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" }, "type": { "type": "reference", @@ -30222,14 +26054,14 @@ { "type": "reflection", "declaration": { - "id": 371, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 372, + "id": 156, "name": "error", "kind": 1024, "kindString": "Property", @@ -30237,7 +26069,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 485, + "line": 646, "character": 29 } ], @@ -30250,8 +26082,8 @@ }, { "type": "reference", - "id": 483, - "name": "ApiError" + "id": 494, + "name": "AuthError" } ] } @@ -30261,7 +26093,7 @@ { "title": "Properties", "kind": 1024, - "children": [372] + "children": [156] } ] } @@ -30275,7 +26107,7 @@ ] }, { - "id": 294, + "id": 96, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -30283,226 +26115,42 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 130, + "line": 193, "character": 8 } ], "signatures": [ { - "id": 295, + "id": 97, "name": "signUp", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a new user." + "shortText": "Creates a new user.", + "returns": "A logged-in session if the server has \"autoconfirm\" ON" }, "parameters": [ { - "id": 296, - "name": "__namedParameters", + "id": 98, + "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 563, - "name": "UserCredentials" + "id": 360, + "name": "SignUpWithPasswordCredentials" } - }, - { - "id": 297, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 298, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 301, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 135, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 300, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 134, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 299, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 133, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [301, 300, 299] - } - ] - } - }, - "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 305, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 140, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 304, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 139, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 303, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 138, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [305, 304, 303] - } - ] - } + "type": "reference", + "id": 254, + "name": "AuthResponse" } ], "qualifiedName": "Promise", @@ -30513,22 +26161,22 @@ ] }, { - "id": 345, - "name": "update", + "id": 131, + "name": "updateUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 360, + "line": 499, "character": 8 } ], "signatures": [ { - "id": 346, - "name": "update", + "id": 132, + "name": "updateUser", "kind": 4096, "kindString": "Call signature", "flags": {}, @@ -30537,14 +26185,14 @@ }, "parameters": [ { - "id": 347, + "id": 133, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 533, + "id": 338, "name": "UserAttributes" } } @@ -30553,107 +26201,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 348, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 349, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 351, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 350, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [349, 351, 350] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -30664,63 +26214,22 @@ ] }, { - "id": 335, - "name": "user", + "id": 108, + "name": "verifyOtp", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 325, - "character": 2 - } - ], - "signatures": [ - { - "id": 336, - "name": "user", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.", - "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ] - }, - { - "id": 325, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 277, + "line": 363, "character": 8 } ], "signatures": [ { - "id": 326, - "name": "verifyOTP", + "id": 109, + "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", "flags": {}, @@ -30729,170 +26238,25 @@ }, "parameters": [ { - "id": 327, + "id": 110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 570, - "name": "VerifyOTPParams" + "id": 414, + "name": "VerifyOtpParams" } - }, - { - "id": 328, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 330, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 280, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [330] - } - ] - } - }, - "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 331, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 334, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 285, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 333, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 284, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 332, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 283, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [334, 333, 332] - } - ] - } + "type": "reference", + "id": 254, + "name": "AuthResponse" } ], "qualifiedName": "Promise", @@ -30907,39 +26271,36 @@ { "title": "Constructors", "kind": 512, - "children": [264] + "children": [67] }, { "title": "Properties", "kind": 1024, - "children": [284, 287, 286, 285, 289, 290, 293, 288, 292, 291] + "children": [70] }, { "title": "Methods", "kind": 2048, - "children": [ - 454, 383, 443, 401, 418, 479, 477, 463, 469, 452, 450, 472, 466, 474, 361, 373, 339, - 337, 358, 352, 306, 369, 294, 345, 335, 325 - ] + "children": [111, 128, 92, 157, 168, 134, 102, 105, 99, 153, 96, 131, 108] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 47, + "line": 63, "character": 21 } ] }, { - "id": 539, + "id": 343, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 541, + "id": 345, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -30947,13 +26308,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for app_metadata that.", - "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" + "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": 137, + "line": 205, "character": 2 } ], @@ -30963,7 +26324,7 @@ } }, { - "id": 548, + "id": 351, "name": "data", "kind": 1024, "kindString": "Property", @@ -30971,12 +26332,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + "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": 112, + "line": 180, "character": 2 } ], @@ -30986,12 +26348,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 538, + "id": 342, "name": "UserAttributes.data" } }, { - "id": 544, + "id": 348, "name": "email", "kind": 1024, "kindString": "Property", @@ -31004,7 +26366,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 162, "character": 2 } ], @@ -31014,40 +26376,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 534, + "id": 339, "name": "UserAttributes.email" } }, { - "id": 547, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "UserAttributes.email_change_token" - } - }, - { - "id": 542, + "id": 346, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -31055,13 +26389,13 @@ "isOptional": true }, "comment": { - "shortText": "Sets if a user has confirmed their email address.", + "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": 144, + "line": 212, "character": 2 } ], @@ -31071,7 +26405,7 @@ } }, { - "id": 546, + "id": 350, "name": "password", "kind": 1024, "kindString": "Property", @@ -31084,7 +26418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 172, "character": 2 } ], @@ -31094,12 +26428,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 536, + "id": 341, "name": "UserAttributes.password" } }, { - "id": 545, + "id": 349, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31112,7 +26446,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 167, "character": 2 } ], @@ -31122,12 +26456,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 535, + "id": 340, "name": "UserAttributes.phone" } }, { - "id": 543, + "id": 347, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -31135,13 +26469,13 @@ "isOptional": true }, "comment": { - "shortText": "Sets if a user has confirmed their phone number.", + "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": 151, + "line": 219, "character": 2 } ], @@ -31151,7 +26485,7 @@ } }, { - "id": 540, + "id": 344, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -31159,13 +26493,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata.", - "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 127, + "line": 195, "character": 2 } ], @@ -31179,182 +26513,70 @@ { "title": "Properties", "kind": 1024, - "children": [541, 548, 544, 547, 542, 546, 545, 543, 540] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 115, + "line": 183, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 533, + "id": 338, "name": "UserAttributes" } ] }, { - "id": 483, - "name": "ApiError", + "id": 455, + "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 484, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 485, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [484, 485] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 27, - "character": 17 - } - ] - }, - { - "id": 557, - "name": "CookieOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 560, - "name": "domain", + "id": 456, + "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": 175, + "line": 402, "character": 2 } ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 559, - "name": "lifetime", + "id": 457, + "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 558, - "name": "name", - "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": 171, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 561, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 562, - "name": "sameSite", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 178, + "line": 404, "character": 2 } ], @@ -31368,154 +26590,37 @@ { "title": "Properties", "kind": 1024, - "children": [560, 559, 558, 561, 562] + "children": [456, 457] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 169, + "line": 396, "character": 17 } ] }, { - "id": 583, - "name": "OpenIDConnectCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 587, - "name": "client_id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 584, - "name": "id_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 208, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 588, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 212, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 585, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 209, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 584, 588, 585, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 207, - "character": 17 - } - ] - }, - { - "id": 486, + "id": 291, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 488, + "id": 293, "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": 34, + "line": 101, "character": 2 } ], @@ -31525,7 +26630,7 @@ } }, { - "id": 490, + "id": 296, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -31538,7 +26643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 113, "character": 2 } ], @@ -31548,20 +26653,18 @@ } }, { - "id": 489, + "id": 295, "name": "expires_in", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "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": 38, + "line": 109, "character": 2 } ], @@ -31571,7 +26674,7 @@ } }, { - "id": 487, + "id": 292, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -31581,7 +26684,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 33, + "line": 97, "character": 2 } ], @@ -31600,17 +26703,18 @@ } }, { - "id": 491, + "id": 294, "name": "refresh_token", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "shortText": "A one-time used refresh token that never expires." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 105, "character": 2 } ], @@ -31620,7 +26724,7 @@ } }, { - "id": 492, + "id": 297, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -31628,7 +26732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 114, "character": 2 } ], @@ -31638,7 +26742,7 @@ } }, { - "id": 493, + "id": 298, "name": "user", "kind": 1024, "kindString": "Property", @@ -31646,23 +26750,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 115, "character": 2 } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] + "type": "reference", + "id": 310, + "name": "User" } } ], @@ -31670,26 +26765,26 @@ { "title": "Properties", "kind": 1024, - "children": [488, 490, 489, 487, 491, 492, 493] + "children": [293, 296, 295, 292, 294, 297, 298] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 96, "character": 17 } ] }, { - "id": 549, + "id": 352, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 550, + "id": 353, "name": "id", "kind": 1024, "kindString": "Property", @@ -31700,7 +26795,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 226, "character": 2 } ], @@ -31710,7 +26805,7 @@ } }, { - "id": 551, + "id": 354, "name": "callback", "kind": 2048, "kindString": "Method", @@ -31718,13 +26813,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 230, "character": 2 } ], "signatures": [ { - "id": 552, + "id": 355, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -31734,19 +26829,19 @@ }, "parameters": [ { - "id": 553, + "id": 356, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 482, + "id": 240, "name": "AuthChangeEvent" } }, { - "id": 554, + "id": 357, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -31760,7 +26855,7 @@ }, { "type": "reference", - "id": 486, + "id": 291, "name": "Session" } ] @@ -31775,7 +26870,7 @@ ] }, { - "id": 555, + "id": 358, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -31783,13 +26878,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 166, + "line": 234, "character": 2 } ], "signatures": [ { - "id": 556, + "id": 359, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -31809,31 +26904,31 @@ { "title": "Properties", "kind": 1024, - "children": [550] + "children": [353] }, { "title": "Methods", "kind": 2048, - "children": [551, 555] + "children": [354, 358] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 154, + "line": 222, "character": 17 } ] }, { - "id": 505, + "id": 310, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 522, + "id": 327, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -31843,7 +26938,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 145, "character": 2 } ], @@ -31853,7 +26948,7 @@ } }, { - "id": 507, + "id": 312, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -31861,21 +26956,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 132, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 508, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 314, "name": "provider", "kind": 1024, "kindString": "Property", @@ -31885,7 +26980,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 133, "character": 4 } ], @@ -31899,18 +26994,18 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [314] } ], "indexSignature": { - "id": 510, + "id": 315, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 316, "name": "key", "kind": 32768, "flags": {}, @@ -31929,7 +27024,7 @@ } }, { - "id": 516, + "id": 321, "name": "aud", "kind": 1024, "kindString": "Property", @@ -31937,7 +27032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 139, "character": 2 } ], @@ -31947,7 +27042,7 @@ } }, { - "id": 517, + "id": 322, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -31957,7 +27052,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 70, + "line": 140, "character": 2 } ], @@ -31967,7 +27062,7 @@ } }, { - "id": 526, + "id": 331, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -31977,7 +27072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 79, + "line": 149, "character": 2 } ], @@ -31987,7 +27082,7 @@ } }, { - "id": 525, + "id": 330, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -31995,7 +27090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 148, "character": 2 } ], @@ -32005,7 +27100,7 @@ } }, { - "id": 523, + "id": 328, "name": "email", "kind": 1024, "kindString": "Property", @@ -32015,7 +27110,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 76, + "line": 146, "character": 2 } ], @@ -32025,7 +27120,7 @@ } }, { - "id": 519, + "id": 324, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -32035,7 +27130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 72, + "line": 142, "character": 2 } ], @@ -32045,7 +27140,7 @@ } }, { - "id": 527, + "id": 332, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -32055,7 +27150,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 150, "character": 2 } ], @@ -32065,7 +27160,7 @@ } }, { - "id": 506, + "id": 311, "name": "id", "kind": 1024, "kindString": "Property", @@ -32073,7 +27168,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 131, "character": 2 } ], @@ -32083,7 +27178,7 @@ } }, { - "id": 532, + "id": 337, "name": "identities", "kind": 1024, "kindString": "Property", @@ -32093,7 +27188,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 85, + "line": 155, "character": 2 } ], @@ -32101,13 +27196,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 494, + "id": 299, "name": "UserIdentity" } } }, { - "id": 521, + "id": 326, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -32117,7 +27212,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 144, "character": 2 } ], @@ -32127,7 +27222,7 @@ } }, { - "id": 529, + "id": 334, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -32137,7 +27232,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 152, "character": 2 } ], @@ -32147,7 +27242,7 @@ } }, { - "id": 520, + "id": 325, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -32157,7 +27252,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 143, "character": 2 } ], @@ -32167,7 +27262,7 @@ } }, { - "id": 524, + "id": 329, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32177,7 +27272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 147, "character": 2 } ], @@ -32187,7 +27282,7 @@ } }, { - "id": 528, + "id": 333, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -32197,7 +27292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 81, + "line": 151, "character": 2 } ], @@ -32207,7 +27302,7 @@ } }, { - "id": 518, + "id": 323, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -32217,7 +27312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 141, "character": 2 } ], @@ -32227,7 +27322,7 @@ } }, { - "id": 530, + "id": 335, "name": "role", "kind": 1024, "kindString": "Property", @@ -32237,7 +27332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 153, "character": 2 } ], @@ -32247,7 +27342,7 @@ } }, { - "id": 531, + "id": 336, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -32257,7 +27352,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 84, + "line": 154, "character": 2 } ], @@ -32267,7 +27362,7 @@ } }, { - "id": 512, + "id": 317, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -32275,27 +27370,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 136, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 514, + "id": 319, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 515, + "id": 320, "name": "key", "kind": 32768, "flags": {}, @@ -32319,28 +27414,28 @@ "title": "Properties", "kind": 1024, "children": [ - 522, 507, 516, 517, 526, 525, 523, 519, 527, 506, 532, 521, 529, 520, 524, 528, 518, - 530, 531, 512 + 327, 312, 321, 322, 331, 330, 328, 324, 332, 311, 337, 326, 334, 325, 329, 333, 323, + 335, 336, 317 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 130, "character": 17 } ] }, { - "id": 533, + "id": 338, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 538, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -32348,12 +27443,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + "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": 112, + "line": 180, "character": 2 } ], @@ -32363,7 +27459,7 @@ } }, { - "id": 534, + "id": 339, "name": "email", "kind": 1024, "kindString": "Property", @@ -32376,7 +27472,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 162, "character": 2 } ], @@ -32386,30 +27482,7 @@ } }, { - "id": 537, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 536, + "id": 341, "name": "password", "kind": 1024, "kindString": "Property", @@ -32422,7 +27495,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 172, "character": 2 } ], @@ -32432,7 +27505,7 @@ } }, { - "id": 535, + "id": 340, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32445,7 +27518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 167, "character": 2 } ], @@ -32459,178 +27532,33 @@ { "title": "Properties", "kind": 1024, - "children": [538, 534, 537, 536, 535] + "children": [342, 339, 341, 340] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 158, "character": 17 } ], "extendedBy": [ { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } ] }, { - "id": 563, - "name": "UserCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 564, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 182, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 569, - "name": "oidc", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 188, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - }, - { - "id": 566, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 184, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 565, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 568, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 187, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 567, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 185, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [564, 569, 566, 565, 568, 567] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 181, - "character": 17 - } - ] - }, - { - "id": 494, + "id": 299, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 502, + "id": 307, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -32638,7 +27566,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 125, "character": 2 } ], @@ -32648,7 +27576,7 @@ } }, { - "id": 495, + "id": 300, "name": "id", "kind": 1024, "kindString": "Property", @@ -32656,7 +27584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 119, "character": 2 } ], @@ -32666,7 +27594,7 @@ } }, { - "id": 497, + "id": 302, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -32674,27 +27602,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 51, + "line": 121, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 498, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 499, + "id": 304, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 500, + "id": 305, "name": "key", "kind": 32768, "flags": {}, @@ -32713,7 +27641,7 @@ } }, { - "id": 503, + "id": 308, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -32721,7 +27649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 126, "character": 2 } ], @@ -32731,7 +27659,7 @@ } }, { - "id": 501, + "id": 306, "name": "provider", "kind": 1024, "kindString": "Property", @@ -32739,7 +27667,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 54, + "line": 124, "character": 2 } ], @@ -32749,7 +27677,7 @@ } }, { - "id": 504, + "id": 309, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -32759,7 +27687,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 127, "character": 2 } ], @@ -32769,7 +27697,7 @@ } }, { - "id": 496, + "id": 301, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -32777,7 +27705,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 120, "character": 2 } ], @@ -32791,34 +27719,37 @@ { "title": "Properties", "kind": 1024, - "children": [502, 495, 497, 503, 501, 504, 496] + "children": [307, 300, 302, 308, 306, 309, 301] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 118, "character": 17 } ] }, { - "id": 576, - "name": "VerifyEmailOTPParams", + "id": 423, + "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 577, + "id": 424, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The user's email address." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 199, + "line": 348, "character": 2 } ], @@ -32828,8 +27759,8 @@ } }, { - "id": 578, - "name": "phone", + "id": 427, + "name": "options", "kind": 1024, "kindString": "Property", "flags": { @@ -32838,25 +27769,89 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 200, + "line": 353, "character": 2 } ], "type": { - "type": "intrinsic", - "name": "undefined" + "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": 357, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "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": 355, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [430, 429] + } + ] + } } }, { - "id": 579, + "id": 425, "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": 201, + "line": 350, "character": 2 } ], @@ -32866,22 +27861,25 @@ } }, { - "id": 580, + "id": 426, "name": "type", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 202, + "line": 352, "character": 2 } ], "type": { "type": "reference", - "id": 582, - "name": "EmailOTPType" + "id": 432, + "name": "EmailOtpType" } } ], @@ -32889,27 +27887,27 @@ { "title": "Properties", "kind": 1024, - "children": [577, 578, 579, 580] + "children": [424, 427, 425, 426] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 198, + "line": 346, "character": 17 } ] }, { - "id": 571, - "name": "VerifyMobileOTPParams", + "id": 415, + "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 572, - "name": "email", + "id": 419, + "name": "options", "kind": 1024, "kindString": "Property", "flags": { @@ -32918,70 +27916,138 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 193, + "line": 339, "character": 2 } ], "type": { - "type": "intrinsic", - "name": "undefined" + "type": "reflection", + "declaration": { + "id": 420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 422, + "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": 343, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 421, + "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": 341, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [422, 421] + } + ] + } } }, { - "id": 573, + "id": 416, "name": "phone", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 194, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 574, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 195, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 575, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "comment": { + "shortText": "The user's phone number." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 334, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "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": 336, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 418, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 338, "character": 2 } ], "type": { "type": "reference", - "id": 581, - "name": "MobileOTPType" + "id": 431, + "name": "MobileOtpType" } } ], @@ -32989,19 +28055,19 @@ { "title": "Properties", "kind": 1024, - "children": [572, 573, 574, 575] + "children": [419, 416, 417, 418] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 332, "character": 17 } ] }, { - "id": 482, + "id": 240, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -33009,7 +28075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 23, "character": 12 } ], @@ -33044,15 +28110,440 @@ } }, { - "id": 582, - "name": "EmailOTPType", + "id": 254, + "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 50, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 256, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 257, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 259, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 291, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 258, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 310, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [259, 258] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 12 + } + ] + } + } + }, + { + "id": 260, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [256, 260] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 261, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 262, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 263, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 265, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 264, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [265, 264] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 12 + } + ] + } + } + }, + { + "id": 266, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 63, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [262, 266] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 484, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 472, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 487, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 475, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 486, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 474, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [487, 486] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 473, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 488, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 479, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + }, + { + "id": 489, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 478, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490, 489] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 477, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 432, + "name": "EmailOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, "character": 12 } ], @@ -33083,15 +28574,1333 @@ } }, { - "id": 581, - "name": "MobileOTPType", + "id": 449, + "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 204, + "line": 385, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 450, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 452, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 388, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 453, + "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": 392, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 393, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 451, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [452, 453, 454, 451] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 385, + "character": 44 + } + ] + } + } + }, + { + "id": 439, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 440, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 442, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 374, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 375, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 441, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 372, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [442, 443, 441] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 46 + } + ] + } + } + }, + { + "id": 458, + "name": "GenerateLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 407, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 433, + "name": "GenerateSignupLinkParams" + }, + { + "type": "reference", + "id": 439, + "name": "GenerateInviteOrMagiclinkParams" + }, + { + "type": "reference", + "id": 444, + "name": "GenerateRecoveryLinkParams" + }, + { + "type": "reference", + "id": 449, + "name": "GenerateEmailChangeLinkParams" + } + ] + } + }, + { + "id": 472, + "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": 430, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 473, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 474, + "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": 435, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 475, + "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": 440, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 476, + "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": 444, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "redirect_to", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL appended to the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 478, + "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": 448, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 479, + "name": "GenerateLinkType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [474, 475, 476, 477, 478] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 430, + "character": 37 + } + ] + } + } + }, + { + "id": 459, + "name": "GenerateLinkResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 460, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 461, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 462, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 463, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 416, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 472, + "name": "GenerateLinkProperties" + } + }, + { + "id": 464, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 417, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [463, 464] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 12 + } + ] + } + } + }, + { + "id": 465, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 419, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [461, 465] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 414, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 466, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 467, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 468, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 469, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 470, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 424, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [469, 470] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 12 + } + ] + } + } + }, + { + "id": 471, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 426, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [467, 471] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 421, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 479, + "name": "GenerateLinkType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 451, + "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": 444, + "name": "GenerateRecoveryLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 445, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 447, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 381, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 448, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 382, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 446, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 379, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [447, 448, 446] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 41 + } + ] + } + } + }, + { + "id": 433, + "name": "GenerateSignupLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 434, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 436, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 366, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 437, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 367, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 365, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [436, 438, 437, 435] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 39 + } + ] + } + } + }, + { + "id": 241, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 242, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 250, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 249, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 253, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "Fetch" + } + }, + { + "id": 244, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 12 + } + ], + "indexSignature": { + "id": 246, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 247, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 251, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 252, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 480, + "name": "SupportedStorage" + } + }, + { + "id": 248, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [250, 249, 253, 244, 251, 252, 248, 243] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 34 + } + ] + } + } + }, + { + "id": 481, + "name": "InitializeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 482, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 483, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [483] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 31 + } + ] + } + } + }, + { + "id": 431, + "name": "MobileOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, "character": 12 } ], @@ -33110,15 +29919,280 @@ } }, { - "id": 481, - "name": "Provider", + "id": 267, + "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 66, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 268, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 269, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 270, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 271, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 272, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [271, 272] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 12 + } + ] + } + } + }, + { + "id": 273, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [269, 273] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 275, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 276, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 277, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 278, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [277, 278] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 12 + } + ] + } + } + }, + { + "id": 279, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [275, 279] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 239, + "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 } ], @@ -33193,7 +30267,1169 @@ } }, { - "id": 589, + "id": 403, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 406, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 407, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 410, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object of query params" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 18 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 408, + "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": 323, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 409, + "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": 325, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [410, 408, 409] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 12 + } + ] + } + } + }, + { + "id": 405, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 320, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [406, 405] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 41 + } + ] + } + } + }, + { + "id": 376, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 377, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 378, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 275, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 380, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 382, + "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": 280, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [382] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 16 + } + ] + } + } + }, + { + "id": 379, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 277, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [378, 380, 379] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 273, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 386, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 387, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 388, + "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": 290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [388] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 16 + } + ] + } + } + }, + { + "id": 385, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 287, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 285, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [386, 385, 384] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 283, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 389, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 294, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 390, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 391, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 297, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 396, + "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": 304, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, + "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": 300, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "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": 302, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [396, 394, 395] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [391, 392] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 397, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 399, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 400, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 402, + "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": 314, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 401, + "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": 312, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [402, 401] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 16 + } + ] + } + } + }, + { + "id": 398, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 309, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [399, 398] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 307, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 360, + "name": "SignUpWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 237, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 361, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 362, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 240, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "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": 253, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "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": 251, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 366, + "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": 245, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 367, 366] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 16 + } + ] + } + } + }, + { + "id": 363, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 242, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [362, 364, 363] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 238, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 372, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "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": 269, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 374, + "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": 267, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 374] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 16 + } + ] + } + } + }, + { + "id": 371, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 260, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 370, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 258, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [372, 371, 370] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 256, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 480, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -33201,7 +31437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 224, + "line": 468, "character": 12 } ], @@ -33244,15 +31480,240 @@ } }, { - "id": 570, - "name": "VerifyOTPParams", + "id": 280, + "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 82, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 281, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 282, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [284] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 12 + } + ] + } + } + }, + { + "id": 285, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 87, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [282, 285] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 286, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 287, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 289, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [289] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 12 + } + ] + } + } + }, + { + "id": 290, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 93, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [287, 290] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 89, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 414, + "name": "VerifyOtpParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, "character": 12 } ], @@ -33261,33 +31722,87 @@ "types": [ { "type": "reference", - "id": 571, - "name": "VerifyMobileOTPParams" + "id": 415, + "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 576, - "name": "VerifyEmailOTPParams" + "id": 423, + "name": "VerifyEmailOtpParams" } ] } + }, + { + "id": 491, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 492, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 493, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + } + ] } ], "groups": [ { "title": "Classes", "kind": 128, - "children": [1, 263] + "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66] }, { "title": "Interfaces", "kind": 256, - "children": [539, 483, 557, 583, 486, 549, 505, 533, 563, 494, 576, 571] + "children": [343, 455, 291, 352, 310, 338, 299, 423, 415] }, { - "title": "Type aliases", + "title": "Type Aliases", "kind": 4194304, - "children": [482, 582, 581, 481, 589, 570] + "children": [ + 240, 254, 484, 432, 449, 439, 458, 472, 459, 479, 444, 433, 241, 481, 431, 267, 239, + 403, 376, 389, 360, 480, 280, 414 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [491] } ], "sources": [ @@ -33301,2929 +31816,1635 @@ { "id": 0, "name": "@supabase/postgrest-js", - "kind": 0, + "kind": 1, + "kindString": "Project", "flags": {}, "originalName": "", "children": [ { - "id": 475, - "name": "\"PostgrestClient\"", - "kind": 1, - "kindString": "Module", + "id": 486, + "name": "PostgrestBuilder", + "kind": 128, + "kindString": "Class", "flags": { - "isExported": true + "isAbstract": true }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 476, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "children": [ + "id": 487, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ { - "id": 485, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "signatures": [ + "fileName": "src/PostgrestBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 488, + "name": "new PostgrestBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ { - "id": 486, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "parameters": [ - { - "id": 487, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "URL of the PostgREST endpoint." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 488, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 489, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 495, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 26, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 490, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Custom headers." - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 24, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 491, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 492, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 493, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 494, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Postgres schema to switch to.\n" - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 496, - "name": "throwOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 27, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [495, 490, 494, 496] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 22, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 476, - "name": "PostgrestClient" - } + "id": 489, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} } ], - "sources": [ + "parameters": [ { - "fileName": "PostgrestClient.ts", - "line": 12, - "character": 30 - } - ] - }, - { - "id": 483, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 11, - "character": 7 + "id": 490, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "default" + } } ], "type": { "type": "reference", - "id": 58, - "name": "Fetch" - } - }, - { - "id": 478, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 9, - "character": 9 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 479, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 480, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 481, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 9, - "character": 10 - } - ] - } - } - }, - { - "id": 482, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 10, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ + "id": 486, + "typeArguments": [ { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 484, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 12, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 477, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 8, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 497, - "name": "auth", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 498, - "name": "auth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Authenticates the request with JWT." - }, - "parameters": [ - { - "id": 499, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The JWT token to use.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 47, - "character": 6 - } - ] - }, - { - "id": 500, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 501, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "id": 502, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 503, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The table name to operate on.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { "type": "reference", - "id": 338, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T", - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "PostgrestQueryBuilder" + "id": 489, + "name": "Result" } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 57, - "character": 6 - } - ] - }, + ], + "name": "default" + } + } + ] + }, + { + "id": 503, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 504, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 495, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 498, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "signatures": [ { - "id": 505, - "name": "rpc", + "id": 500, + "name": "__type", "kind": 4096, "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 506, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], + "flags": {}, "parameters": [ { - "id": 507, - "name": "fn", + "id": 501, + "name": "input", "kind": 32768, "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The function name to call." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 508, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "text": "The parameters to pass to the function call." - }, + "flags": {}, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "undefined" + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" }, { - "type": "intrinsic", - "name": "object" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } ] } }, { - "id": 509, - "name": "__namedParameters", + "id": 502, + "name": "init", "kind": 32768, "kindString": "Parameter", "flags": { - "isExported": true + "isOptional": true }, - "originalName": "__2", "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": 493, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 491, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "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": 494, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 496, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 497, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 492, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 506, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 507, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 508, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 509, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 510, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ + "flags": {}, + "signatures": [ { "id": 512, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "fileName": "PostgrestClient.ts", - "line": 80, - "character": 11 + "id": 513, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } } ], "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "null" + "type": "reference", + "id": 382, + "name": "TResult1" }, { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" } ] - }, - "defaultValue": "null" - }, - { - "id": 511, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "When set to true, no data will be returned." - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 79, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [512, 511] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 77, - "character": 20 + } } ] } - }, - "defaultValue": "{}" - } - ], + } + ] + } + }, + { + "id": 514, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "id": 137, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "typeParameter", - "name": "T", - "default": { - "type": "intrinsic", - "name": "any" + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 515, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 516, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 517, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] } } - ], - "name": "PostgrestFilterBuilder" + ] } } ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 75, - "character": 5 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [485] - }, - { - "title": "Properties", - "kind": 1024, - "children": [483, 478, 482, 484, 477] - }, - { - "title": "Methods", - "kind": 2048, - "children": [497, 500, 504] + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } } ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 504, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, "sources": [ { - "fileName": "PostgrestClient.ts", - "line": 7, - "character": 36 + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 505, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "default" + } } ] } ], "groups": [ { - "title": "Classes", - "kind": 128, - "children": [476] + "title": "Constructors", + "kind": 512, + "children": [487] + }, + { + "title": "Properties", + "kind": 1024, + "children": [503, 495, 498, 493, 491, 494, 496, 497, 492] + }, + { + "title": "Methods", + "kind": 2048, + "children": [506, 504] } ], "sources": [ { - "fileName": "PostgrestClient.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestBuilder.ts", + "line": 5, + "character": 30 } - ] - }, - { - "id": 513, - "name": "\"index\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/index.ts", - "sources": [ + ], + "typeParameter": [ { - "fileName": "index.ts", - "line": 1, - "character": 0 + "id": 518, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} } - ] - }, - { - "id": 136, - "name": "\"lib/PostgrestFilterBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", - "children": [ + ], + "extendedBy": [ { - "id": 137, - "name": "PostgrestFilterBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ + "type": "reference", + "id": 394, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ { - "id": 138, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" } ], - "children": [ + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 1, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ { - "id": 318, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 319, - "name": "new PostgrestFilterBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 320, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 137, - "name": "PostgrestFilterBuilder" - }, - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, + "fileName": "src/PostgrestClient.ts", + "line": 41, + "character": 2 + } + ], + "signatures": [ { - "id": 224, - "name": "adj", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, + "id": 3, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeAdjacent()` instead." - } - ] + "shortText": "Creates a PostgREST client." }, - "sources": [ + "typeParameter": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 328, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 220, - "name": "rangeAdjacent" - }, - "defaultValue": "this.rangeAdjacent" - }, - { - "id": 314, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 199, - "name": "cd", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `containedBy()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 253, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 195, - "name": "containedBy" - }, - "defaultValue": "this.containedBy" - }, - { - "id": 194, - "name": "cs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `contains()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 229, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 190, - "name": "contains" - }, - "defaultValue": "this.contains" - }, - { - "id": 317, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 309, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 310, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 311, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 312, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 307, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 214, - "name": "nxl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeGte()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 298, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 210, - "name": "rangeGte" - }, - "defaultValue": "this.rangeGte" - }, - { - "id": 219, - "name": "nxr", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeLte()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 313, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 215, - "name": "rangeLte" - }, - "defaultValue": "this.rangeLte" - }, - { - "id": 229, - "name": "ov", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `overlaps()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 349, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 225, - "name": "overlaps" - }, - "defaultValue": "this.overlaps" - }, - { - "id": 313, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { "type": "intrinsic", - "name": "undefined" - }, - { + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { "type": "intrinsic", "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 315, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 316, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 204, - "name": "sl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeLt()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 268, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 200, - "name": "rangeLt" - }, - "defaultValue": "this.rangeLt" - }, - { - "id": 209, - "name": "sr", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeGt()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 283, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 205, - "name": "rangeGt" - }, - "defaultValue": "this.rangeGt" - }, - { - "id": 308, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 298, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 299, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true }, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 300, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 98, - "name": "PostgrestTransformBuilder.abortSignal" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 91, - "character": 13 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 98, - "name": "PostgrestTransformBuilder.abortSignal" - } - }, - { - "id": 195, - "name": "containedBy", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 196, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." - }, - "parameters": [ - { - "id": 197, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + "id": 4, + "name": "Database" } }, - { - "id": 198, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 238, - "character": 13 - } - ] - }, - { - "id": 190, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." - }, - "parameters": [ - { - "id": 192, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } + "trueType": { + "type": "literal", + "value": "public" }, - { - "id": 193, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 213, - "character": 10 - } - ] - }, - { - "id": 305, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 306, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 105, - "name": "PostgrestTransformBuilder.csv" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 134, - "character": 5 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 105, - "name": "PostgrestTransformBuilder.csv" - } - }, - { - "id": 150, - "name": "eq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 151, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`." - }, - "parameters": [ - { - "id": 152, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 153, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "typeOperator", "operator": "keyof", "target": { - "type": "typeParameter", - "name": "T" + "type": "reference", + "id": 4, + "name": "Database" } - }, - "objectType": { - "type": "typeParameter", - "name": "T" } - } + ] } - ], - "type": { - "type": "intrinsic", - "name": "this" } - } - ], - "sources": [ + }, { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 85, - "character": 4 - } - ] - }, - { - "id": 266, - "name": "filter", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 267, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" }, - "comment": { - "shortText": "Finds all rows whose `column` satisfies the filter." - }, - "parameters": [ - { - "id": 268, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 269, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { "type": "reference", - "id": 336, - "name": "FilterOperator" + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" } }, - { - "id": 270, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "objectType": { "type": "intrinsic", "name": "any" } + }, + "falseType": { + "type": "intrinsic", + "name": "any" } - ], - "type": { - "type": "intrinsic", - "name": "this" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 452, - "character": 8 - } - ] - }, - { - "id": 238, - "name": "fts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 239, - "name": "fts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, + "id": 7, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` instead.\n" - } - ] + "shortText": "URL of the PostgREST endpoint" }, - "parameters": [ - { - "id": 240, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 241, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 242, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 243, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "children": [ - { - "id": 244, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 46 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [244] - } - ], "sources": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 37 + "fileName": "src/PostgrestClient.ts", + "line": 50, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 16, + "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" + } + } + ] } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 5 - } - ] - }, - { - "id": 158, - "name": "gt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 159, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`." - }, - "parameters": [ - { - "id": 160, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 161, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" } }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 109, - "character": 4 - } - ] - }, - { - "id": 162, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 163, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`." - }, - "parameters": [ - { - "id": 164, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 165, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 121, - "character": 5 - } - ] - }, - { - "id": 178, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)." - }, - "parameters": [ - { - "id": 180, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 181, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The pattern to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 169, - "character": 7 - } - ] - }, - { - "id": 186, - "name": "in", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`." - }, - "parameters": [ - { - "id": 188, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 189, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to filter with.\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + { + "id": 10, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - "objectType": { - "type": "typeParameter", - "name": "T" + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 48, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 11, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 49, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" } } - } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [12, 10, 11] + } + ] } - ], - "type": { - "type": "intrinsic", - "name": "this" - } + }, + "defaultValue": "{}" } ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 193, - "character": 4 - } - ] - }, + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 20, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 182, - "name": "is", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, + "fileName": "src/PostgrestClient.ts", + "line": 29, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "signatures": [ { - "id": 183, - "name": "is", + "id": 22, + "name": "__type", "kind": 4096, "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`." - }, + "flags": {}, "parameters": [ { - "id": 184, - "name": "column", + "id": 23, + "name": "input", "kind": 32768, "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 185, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, + "flags": {}, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" }, { - "type": "intrinsic", - "name": "null" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } ] } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 181, - "character": 4 - } - ] - }, - { - "id": 174, - "name": "like", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 175, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)." - }, - "parameters": [ - { - "id": 176, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } }, { - "id": 177, - "name": "pattern", + "id": 24, + "name": "init", "kind": 32768, "kindString": "Parameter", "flags": { - "isExported": true - }, - "comment": { - "text": "The pattern to filter with.\n" + "isOptional": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" } } ], "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 157, - "character": 6 - } - ] - }, - { - "id": 285, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 286, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 287, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 288, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [290] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 22 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { "type": "reference", - "id": 85, - "name": "PostgrestTransformBuilder.limit" + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 18, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 19, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 17, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 64, + "character": 2 + } + ], + "signatures": [ + { + "id": 26, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a query on a table or a view." + }, + "typeParameter": [ + { + "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" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 7 + "id": 29, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table or view name to query\n" + }, + "type": { + "type": "reference", + "id": 27, + "name": "TableName" + } } ], - "inheritedFrom": { + "type": { "type": "reference", - "id": 85, - "name": "PostgrestTransformBuilder.limit" + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 28, + "name": "Table" + } + ], + "name": "default" } }, { - "id": 166, - "name": "lt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ + "id": 30, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ { - "id": 167, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`." - }, - "parameters": [ - { - "id": 168, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 169, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], + "id": 31, + "name": "ViewName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "type": { "type": "intrinsic", - "name": "this" + "name": "string" + } + }, + { + "id": 32, + "name": "View", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericView" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 133, - "character": 4 - } - ] - }, - { - "id": 170, - "name": "lte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 171, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`." - }, - "parameters": [ - { - "id": 172, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 173, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], + "id": 33, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "type": { - "type": "intrinsic", - "name": "this" + "type": "reference", + "id": 31, + "name": "ViewName" } } ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 145, - "character": 5 - } - ] + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 32, + "name": "View" + } + ], + "name": "default" + } }, { - "id": 271, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ + "id": 34, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "id": 272, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, + "id": 35, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 36, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 102, + "character": 2 + } + ], + "signatures": [ + { + "id": 37, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 38, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 39, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 40, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "comment": { - "shortText": "Finds all rows whose columns match the specified `query` object." + "shortText": "The function name to call" }, - "parameters": [ - { - "id": 273, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true + "type": { + "type": "reference", + "id": 38, + "name": "FunctionName" + } + }, + { + "id": 41, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The arguments to pass to the function call" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 42, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 45, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "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`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 113, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 44, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 112, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [45, 44] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - "comment": { - "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n" + "objectType": { + "type": "reference", + "id": 39, + "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" + } + } }, - "type": { + "extendsType": { "type": "reference", "typeArguments": [ { @@ -36235,9309 +33456,9745 @@ "name": "unknown" } ], + "qualifiedName": "Record", + "package": "typescript", "name": "Record" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 463, - "character": 7 - } - ] - }, - { - "id": 303, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 304, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 69, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 103, - "name": "PostgrestTransformBuilder.maybeSingle" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 110, - "character": 13 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 103, - "name": "PostgrestTransformBuilder.maybeSingle" - } - }, - { - "id": 154, - "name": "neq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 155, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`." - }, - "parameters": [ - { - "id": 156, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 157, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "trueType": { "type": "indexedAccess", "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + "type": "intrinsic", + "name": "any" }, "objectType": { - "type": "typeParameter", - "name": "T" + "type": "intrinsic", + "name": "any" } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 97, - "character": 5 - } - ] - }, - { - "id": 139, - "name": "not", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 140, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows which doesn't satisfy the filter." - }, - "parameters": [ - { - "id": 141, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 142, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { - "type": "reference", - "id": 336, - "name": "FilterOperator" - } - }, - { - "id": 143, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "falseType": { "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 61, - "character": 5 - } - ] - }, - { - "id": 144, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 145, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows satisfying at least one of the filters." - }, - "parameters": [ - { - "id": 146, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The filters to use, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" + "name": "never" } }, - { - "id": 147, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 149, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 36 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [149] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 21 - } - ] - } - }, - "defaultValue": "{}" + "falseType": { + "type": "intrinsic", + "name": "never" } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 4 - } - ] - }, - { - "id": 277, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 278, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true }, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "parameters": [ - { - "id": 279, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to order on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - { - "id": 280, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 281, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 282, - "name": "ascending", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, the result will be in ascending order." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 43, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - }, - { - "id": 284, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 45, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 283, - "name": "nullsFirst", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, `null`s appear first." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [282, 284, 283] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 41, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 77, - "name": "PostgrestTransformBuilder.order" } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 40, - "character": 7 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 77, - "name": "PostgrestTransformBuilder.order" + ], + "name": "default" } - }, - { - "id": 225, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`." - }, - "parameters": [ - { - "id": 227, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 228, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 337, - "character": 10 - } - ] - }, - { - "id": 252, - "name": "phfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 253, - "name": "phfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'phrase'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 254, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 255, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 256, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 257, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 258, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [258] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 39 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 7 - } - ] - }, - { - "id": 245, - "name": "plfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 246, - "name": "plfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'plain'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 247, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 248, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 249, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 250, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 251, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [251] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 39 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 7 - } - ] - }, - { - "id": 291, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 292, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 293, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 294, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 295, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 296, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 297, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [297] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 33 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.range" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 7 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.range" - } - }, - { - "id": 220, - "name": "rangeAdjacent", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 221, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`." - }, - "parameters": [ - { - "id": 222, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 223, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 322, - "character": 15 - } - ] - }, - { - "id": 205, - "name": "rangeGt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 206, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." - }, - "parameters": [ - { - "id": 207, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 208, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 277, - "character": 9 - } - ] - }, - { - "id": 210, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 211, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." - }, - "parameters": [ - { - "id": 212, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 213, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 292, - "character": 10 - } - ] - }, - { - "id": 200, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 201, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." - }, - "parameters": [ - { - "id": 202, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 203, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 262, - "character": 9 - } - ] - }, - { - "id": 215, - "name": "rangeLte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 216, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." - }, - "parameters": [ - { - "id": 217, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 218, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 307, - "character": 10 - } - ] - }, - { - "id": 274, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 275, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 276, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 74, - "name": "PostgrestTransformBuilder.select" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 13, - "character": 8 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 74, - "name": "PostgrestTransformBuilder.select" - } - }, - { - "id": 301, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 302, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 101, - "name": "PostgrestTransformBuilder.single" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 8 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 101, - "name": "PostgrestTransformBuilder.single" - } - }, - { - "id": 230, - "name": "textSearch", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 231, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`." - }, - "parameters": [ - { - "id": 232, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 233, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 234, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 235, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 236, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use." - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 364, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 237, - "name": "type", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The type of tsquery conversion to use on `query`.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 365, - "character": 10 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "plain" - }, - { - "type": "stringLiteral", - "value": "phrase" - }, - { - "type": "stringLiteral", - "value": "websearch" - } - ] - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [236, 237] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 362, - "character": 18 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 360, - "character": 12 - } - ] - }, - { - "id": 324, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 325, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 326, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 327, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 328, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 330, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 331, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 332, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 333, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 334, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 335, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 321, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 322, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 323, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - }, - { - "id": 259, - "name": "wfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 260, - "name": "wfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'websearch'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 261, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 262, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 263, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 265, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 47 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [265] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 38 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 6 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [318] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 224, 314, 199, 194, 317, 309, 307, 214, 219, 229, 313, 315, 316, 204, 209, 308 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 298, 195, 190, 305, 150, 266, 238, 158, 162, 178, 186, 182, 174, 285, 166, 170, - 271, 303, 154, 139, 144, 277, 225, 252, 245, 291, 220, 205, 210, 200, 215, 274, - 301, 230, 324, 321, 259 - ] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 53, - "character": 43 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 72, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" } ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [2] }, { - "id": 336, - "name": "FilterOperator", - "kind": 4194304, - "kindString": "Type alias", + "title": "Properties", + "kind": 1024, + "children": [20, 18, 19, 17] + }, + { + "title": "Methods", + "kind": 2048, + "children": [25, 36] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 17, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 46, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "Filters" + "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n" }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 7, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "eq" - }, - { - "type": "stringLiteral", - "value": "neq" - }, - { - "type": "stringLiteral", - "value": "gt" - }, - { - "type": "stringLiteral", - "value": "gte" - }, - { - "type": "stringLiteral", - "value": "lt" - }, - { - "type": "stringLiteral", - "value": "lte" - }, - { - "type": "stringLiteral", - "value": "like" - }, - { - "type": "stringLiteral", - "value": "ilike" - }, - { - "type": "stringLiteral", - "value": "is" - }, - { - "type": "stringLiteral", - "value": "in" - }, - { - "type": "stringLiteral", - "value": "cs" - }, - { - "type": "stringLiteral", - "value": "cd" - }, - { - "type": "stringLiteral", - "value": "sl" - }, - { - "type": "stringLiteral", - "value": "sr" - }, - { - "type": "stringLiteral", - "value": "nxl" - }, - { - "type": "stringLiteral", - "value": "nxr" - }, - { - "type": "stringLiteral", - "value": "adj" - }, - { - "type": "stringLiteral", - "value": "ov" - }, - { - "type": "stringLiteral", - "value": "fts" - }, - { - "type": "stringLiteral", - "value": "plfts" - }, - { - "type": "stringLiteral", - "value": "phfts" - }, - { - "type": "stringLiteral", - "value": "wfts" - }, - { - "type": "stringLiteral", - "value": "not.eq" - }, - { - "type": "stringLiteral", - "value": "not.neq" - }, - { - "type": "stringLiteral", - "value": "not.gt" - }, - { - "type": "stringLiteral", - "value": "not.gte" - }, - { - "type": "stringLiteral", - "value": "not.lt" - }, - { - "type": "stringLiteral", - "value": "not.lte" - }, - { - "type": "stringLiteral", - "value": "not.like" - }, - { - "type": "stringLiteral", - "value": "not.ilike" - }, - { - "type": "stringLiteral", - "value": "not.is" - }, - { - "type": "stringLiteral", - "value": "not.in" - }, - { - "type": "stringLiteral", - "value": "not.cs" - }, - { - "type": "stringLiteral", - "value": "not.cd" - }, - { - "type": "stringLiteral", - "value": "not.sl" - }, - { - "type": "stringLiteral", - "value": "not.sr" - }, - { - "type": "stringLiteral", - "value": "not.nxl" - }, - { - "type": "stringLiteral", - "value": "not.nxr" - }, - { - "type": "stringLiteral", - "value": "not.adj" - }, - { - "type": "stringLiteral", - "value": "not.ov" - }, - { - "type": "stringLiteral", - "value": "not.fts" - }, - { - "type": "stringLiteral", - "value": "not.plfts" - }, - { - "type": "stringLiteral", - "value": "not.phfts" - }, - { - "type": "stringLiteral", - "value": "not.wfts" - } - ] + "default": { + "type": "intrinsic", + "name": "any" } - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [137] }, { - "title": "Type aliases", - "kind": 4194304, - "children": [336] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 337, - "name": "\"lib/PostgrestQueryBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", - "children": [ - { - "id": 338, - "name": "PostgrestQueryBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 339, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 340, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 341, - "name": "new PostgrestQueryBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 342, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 343, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 350, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 10, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 345, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 8, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 346, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 347, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 348, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 349, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 351, - "name": "shouldThrowOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [350, 345, 349, 351] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 338, - "name": "PostgrestQueryBuilder" - }, - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 4, - "character": 75 - } - ], - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 403, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 406, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 398, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 399, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 400, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 401, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 396, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 402, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 404, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 405, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 397, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 390, - "name": "delete", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 391, - "name": "delete", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs a DELETE on the table." - }, - "parameters": [ - { - "id": 392, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 395, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 214, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 394, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, return the deleted row(s) in the response." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 213, - "character": 13 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [395, 394] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 212, - "character": 9 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 212, - "character": 8 - } - ] - }, - { - "id": 359, - "name": "insert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 360, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an INSERT into the table." - }, - "parameters": [ - { - "id": 361, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to insert." - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 362, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 365, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 78, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - } - }, - { - "id": 364, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 77, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [365, 364] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - }, - { - "id": 366, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `upsert()` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 367, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 368, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 373, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 90, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - } - }, - { - "id": 371, - "name": "onConflict", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 88, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 372, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 89, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - } - }, - { - "id": 370, - "name": "upsert", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 87, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [373, 371, 372, 370] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 74, - "character": 8 - }, - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 84, - "character": 8 - }, - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 93, - "character": 8 - } - ] - }, - { - "id": 352, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 353, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 354, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - }, - { - "id": 355, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 358, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 36, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 357, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "When set to true, select will void data." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 35, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [358, 357] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 33, - "character": 18 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 32, - "character": 8 - } - ] - }, - { - "id": 410, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 411, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 412, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 413, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 414, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 415, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 416, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 417, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 418, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 419, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 420, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 421, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 407, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 408, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 409, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - }, - { - "id": 383, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 384, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPDATE on the table." - }, - "parameters": [ - { - "id": 385, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to update." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - }, - { - "id": 386, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 389, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 187, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 388, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 186, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [389, 388] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 184, - "character": 23 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 183, - "character": 8 - } - ] - }, - { - "id": 374, - "name": "upsert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 375, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPSERT into the table." - }, - "parameters": [ - { - "id": 376, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to insert." - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 377, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 381, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 147, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 382, - "name": "ignoreDuplicates", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Specifies if duplicate rows should be ignored and not inserted.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 148, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 379, - "name": "onConflict", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 145, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 380, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 146, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [381, 382, 379, 380] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 143, - "character": 38 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 142, - "character": 8 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [340] - }, - { - "title": "Properties", - "kind": 1024, - "children": [403, 406, 398, 396, 402, 404, 405, 397] - }, - { - "title": "Methods", - "kind": 2048, - "children": [390, 359, 352, 410, 407, 383, 374] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 4, - "character": 42 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [338] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 422, - "name": "\"lib/PostgrestRpcBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", - "children": [ - { - "id": 423, - "name": "PostgrestRpcBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 424, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 425, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 426, - "name": "new PostgrestRpcBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 427, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 428, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 429, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 435, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 10, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 430, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 8, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 431, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 432, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 433, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 434, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 436, - "name": "shouldThrowOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [435, 430, 434, 436] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "PostgrestRpcBuilder" - }, - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 4, - "character": 73 - } - ], - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 451, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 454, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 446, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 447, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 448, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 449, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 444, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 450, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 452, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 453, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 445, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 437, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 438, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a function call." - }, - "parameters": [ - { - "id": 439, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - }, - { - "id": 440, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 441, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 443, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 32, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 442, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 31, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [443, 442] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 29, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 28, - "character": 5 - } - ] - }, - { - "id": 458, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 459, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 460, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 461, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 462, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 463, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 464, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 465, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 466, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 467, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 468, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 469, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 455, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 456, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 457, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [425] - }, - { - "title": "Properties", - "kind": 1024, - "children": [451, 454, 446, 444, 450, 452, 453, 445] - }, - { - "title": "Methods", - "kind": 2048, - "children": [437, 458, 455] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 4, - "character": 40 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [423] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 71, - "name": "\"lib/PostgrestTransformBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts", - "children": [ - { - "id": 72, - "name": "PostgrestTransformBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, + "id": 47, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "comment": { - "shortText": "Post-filters (transforms)" + "shortText": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n`\"public\"`, this must be supplied manually.\n" }, - "typeParameter": [ - { - "id": 73, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 118, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 119, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 120, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 72, - "name": "PostgrestTransformBuilder" - }, - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 114, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 117, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 109, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 111, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 112, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 107, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 113, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 115, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 116, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 108, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 98, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 99, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 100, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 91, - "character": 13 - } - ] - }, - { - "id": 105, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 106, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 134, - "character": 5 - } - ] - }, - { - "id": 85, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 86, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 87, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 88, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 90, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [90] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 22 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 7 - } - ] - }, - { - "id": 103, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 104, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 69, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 110, - "character": 13 - } - ] - }, - { - "id": 77, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 78, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "parameters": [ - { - "id": 79, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to order on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 80, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 82, - "name": "ascending", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, the result will be in ascending order." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 43, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - }, - { - "id": 84, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 45, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 83, - "name": "nullsFirst", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, `null`s appear first." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [82, 84, 83] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 41, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 40, - "character": 7 - } - ] - }, - { - "id": 91, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 92, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 93, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 94, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 95, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 96, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 97, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [97] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 33 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 7 - } - ] - }, - { - "id": 74, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 75, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 76, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 13, - "character": 8 - } - ] - }, - { - "id": 101, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 102, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 8 - } - ] - }, - { - "id": 124, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 125, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 126, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 127, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 128, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 130, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 131, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 132, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 133, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 134, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 135, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 121, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 122, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 123, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [118] - }, - { - "title": "Properties", - "kind": 1024, - "children": [114, 117, 109, 107, 113, 115, 116, 108] - }, - { - "title": "Methods", - "kind": 2048, - "children": [98, 105, 85, 103, 77, 91, 74, 101, 124, 121] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 7, - "character": 46 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 137, - "name": "PostgrestFilterBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [72] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 472, - "name": "\"lib/constants\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", - "children": [ - { - "id": 473, - "name": "DEFAULT_HEADERS", - "kind": 2097152, - "kindString": "Object literal", - "flags": { - "isExported": true, - "isConst": true - }, - "children": [ - { - "id": 474, - "name": "X-Client-Info", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 2, - "character": 48 - } - ], - "type": { + "type": { + "type": "intersection", + "types": [ + { "type": "intrinsic", "name": "string" }, - "defaultValue": "`postgrest-js/${version}`" + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + }, + "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" + } + } + ] } - ], - "groups": [ + } + }, + { + "id": 48, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "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", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 110, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 111, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ { - "title": "Variables", - "kind": 32, - "children": [474] + "id": 112, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 113, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 114, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 115, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 396, + "name": "default.constructor" + } } ], + "inheritedFrom": { + "type": "reference", + "id": 395, + "name": "default.constructor" + } + }, + { + "id": 377, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { - "fileName": "lib/constants.ts", - "line": 2, - "character": 28 + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 } ], "type": { "type": "intrinsic", - "name": "object" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 469, + "name": "default.allowEmpty" } - } - ], - "groups": [ + }, { - "title": "Object literals", - "kind": 2097152, - "children": [473] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 1, - "name": "\"lib/types\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts", - "children": [ - { - "id": 27, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", + "id": 369, + "name": "body", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true, - "isAbstract": true - }, - "typeParameter": [ - { - "id": 28, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 40, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 41, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 42, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 27, - "name": "PostgrestBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ] - }, - { - "id": 36, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 39, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - } - }, - { - "id": 31, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 33, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 34, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - } - }, - { - "id": 29, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - } - }, - { - "id": 35, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 37, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 38, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - } - }, - { - "id": 30, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - } - }, - { - "id": 46, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 47, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 48, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 49, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 50, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 52, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 53, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 54, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 55, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 56, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 57, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ] - }, - { - "id": 43, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 44, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 45, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [40] - }, - { - "title": "Properties", - "kind": 1024, - "children": [36, 39, 31, 29, 35, 37, 38, 30] - }, - { - "title": "Methods", - "kind": 2048, - "children": [46, 43] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 53, - "character": 38 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 72, - "name": "PostgrestTransformBuilder" - }, - { - "type": "reference", - "id": 338, - "name": "PostgrestQueryBuilder" - }, - { - "type": "reference", - "id": 423, - "name": "PostgrestRpcBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - }, - { - "id": 2, - "name": "PostgrestResponseBase", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "Response format", - "text": "{@link https://github.com/supabase/supabase-js/issues/32}\n" - }, - "children": [ - { - "id": 3, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 4, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [3, 4] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 22, - "character": 31 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 5, - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" - }, - { - "type": "reference", - "id": 20, - "name": "PostgrestSingleResponseSuccess" - } - ] - }, - { - "id": 13, - "name": "PostgrestResponseFailure", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 16, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 37, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 17, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 38, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 15, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 35, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 14, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 34, - "character": 7 - } - ], - "type": { - "type": "reference", - "id": 59, - "name": "PostgrestError" - } - }, - { - "id": 18, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 19, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [16, 17, 15, 14, 18, 19] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 33, - "character": 34 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 5, - "name": "PostgrestResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "typeParameter": [ - { - "id": 6, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "children": [ - { - "id": 9, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 30, - "character": 6 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 10, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 31, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 8, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 29, - "character": 6 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 7, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 28, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 11, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 12, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [9, 10, 8, 7, 11, 12] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 27, - "character": 34 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 20, - "name": "PostgrestSingleResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "typeParameter": [ - { - "id": 21, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "children": [ - { - "id": 24, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 46, - "character": 6 - } - ], - "type": { - "type": "typeParameter", - "name": "T" - } - }, - { - "id": 23, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 44, - "character": 6 - } - ], - "type": { - "type": "typeParameter", - "name": "T" - } - }, - { - "id": 22, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 43, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 25, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 26, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [24, 23, 22, 25, 26] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 42, - "character": 40 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 58, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExported": true + "isProtected": true, + "isOptional": true }, "sources": [ { - "fileName": "lib/types.ts", - "line": 3, - "character": 17 + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 } ], "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 350, - "name": "fetch" - } + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 461, + "name": "default.body" } }, { - "id": 59, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", + "id": 372, + "name": "fetch", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true - }, - "comment": { - "shortText": "Error format", - "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + "isProtected": true }, "sources": [ { - "fileName": "lib/types.ts", - "line": 10, - "character": 26 + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 60, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": { - "isExported": true + "flags": {}, + "signatures": [ + { + "id": 374, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 375, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 376, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 464, + "name": "default.fetch" + } + }, + { + "id": 367, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "children": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 459, + "name": "default.headers" + } + }, + { + "id": 365, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 457, + "name": "default.method" + } + }, + { + "id": 368, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 460, + "name": "default.schema" + } + }, + { + "id": 370, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 462, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 371, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 463, + "name": "default.signal" + } + }, + { + "id": 366, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 458, + "name": "default.url" + } + }, + { + "id": 342, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 124, + "character": 2 + } + ], + "signatures": [ + { + "id": 343, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ { - "id": 64, - "name": "code", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true + "id": 344, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 14, - "character": 6 - } - ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" } - }, - { - "id": 62, - "name": "details", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 12, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "reference", + "id": 114, + "name": "Result" } - }, + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 435, + "name": "default.abortSignal" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 434, + "name": "default.abortSignal" + } + }, + { + "id": 204, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 214, + "character": 2 + } + ], + "signatures": [ + { + "id": 205, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." + }, + "typeParameter": [ { - "id": 63, - "name": "hint", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 13, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 61, - "name": "message", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 11, - "character": 9 - } - ], + "id": 206, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], - "groups": [ + "parameters": [ { - "title": "Variables", - "kind": 32, - "children": [64, 62, 63, 61] + "id": 207, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 206, + "name": "ColumnName" + } + }, + { + "id": 208, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 206, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } } ], - "sources": [ + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 209, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "fileName": "lib/types.ts", - "line": 10, - "character": 28 + "id": 210, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 211, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 196, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 187, + "character": 2 + } + ], + "signatures": [ + { + "id": 197, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." + }, + "typeParameter": [ + { + "id": 198, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 199, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 198, + "name": "ColumnName" + } + }, + { + "id": 200, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 198, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 201, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 202, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 349, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 155, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 442, + "name": "default.csv" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 441, + "name": "default.csv" + } + }, + { + "id": 116, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 39, + "character": 2 + } + ], + "signatures": [ + { + "id": 117, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is equal to `value`.", + "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" + }, + "typeParameter": [ + { + "id": 118, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 119, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 118, + "name": "ColumnName" + } + }, + { + "id": 120, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 118, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 121, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 122, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 123, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 353, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 354, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 355, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 357, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 197, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 360, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 362, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 202, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 359, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 199, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 358, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 361, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [357, 360, 362, 359, 358, 361] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 446, + "name": "default.explain" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 445, + "name": "default.explain" + } + }, + { + "id": 298, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 439, + "character": 2 + } + ], + "signatures": [ + { + "id": 299, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", + "text": "Unlike most filters, `opearator` and `value` 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.\n" + }, + "typeParameter": [ + { + "id": 300, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 301, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 300, + "name": "ColumnName" + } + }, + { + "id": 302, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with, following PostgREST syntax" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "FilterOperator" + }, + { + "type": "literal", + "value": "not.eq" + }, + { + "type": "literal", + "value": "not.neq" + }, + { + "type": "literal", + "value": "not.gt" + }, + { + "type": "literal", + "value": "not.gte" + }, + { + "type": "literal", + "value": "not.lt" + }, + { + "type": "literal", + "value": "not.lte" + }, + { + "type": "literal", + "value": "not.like" + }, + { + "type": "literal", + "value": "not.ilike" + }, + { + "type": "literal", + "value": "not.is" + }, + { + "type": "literal", + "value": "not.in" + }, + { + "type": "literal", + "value": "not.cs" + }, + { + "type": "literal", + "value": "not.cd" + }, + { + "type": "literal", + "value": "not.sl" + }, + { + "type": "literal", + "value": "not.sr" + }, + { + "type": "literal", + "value": "not.nxl" + }, + { + "type": "literal", + "value": "not.nxr" + }, + { + "type": "literal", + "value": "not.adj" + }, + { + "type": "literal", + "value": "not.ov" + }, + { + "type": "literal", + "value": "not.fts" + }, + { + "type": "literal", + "value": "not.plfts" + }, + { + "type": "literal", + "value": "not.phfts" + }, + { + "type": "literal", + "value": "not.wfts" + } + ] + } + }, + { + "id": 303, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 304, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 305, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 306, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 307, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 351, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 163, + "character": 2 + } + ], + "signatures": [ + { + "id": 352, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 444, + "name": "default.geojson" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 443, + "name": "default.geojson" + } + }, + { + "id": 132, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 65, + "character": 2 + } + ], + "signatures": [ + { + "id": 133, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than `value`." + }, + "typeParameter": [ + { + "id": 134, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 135, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 134, + "name": "ColumnName" + } + }, + { + "id": 136, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 134, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 137, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 138, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 139, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 140, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 141, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than or equal to `value`." + }, + "typeParameter": [ + { + "id": 142, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 143, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 142, + "name": "ColumnName" + } + }, + { + "id": 144, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 142, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 145, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 146, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 172, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 173, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-insensitively." + }, + "typeParameter": [ + { + "id": 174, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 175, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 174, + "name": "ColumnName" + } + }, + { + "id": 176, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 177, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 178, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 179, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 188, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 165, + "character": 2 + } + ], + "signatures": [ + { + "id": 189, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is included in the `values` array." + }, + "typeParameter": [ + { + "id": 190, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 191, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 190, + "name": "ColumnName" + } + }, + { + "id": 192, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values array to filter with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 190, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 193, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 194, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 195, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 180, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 149, + "character": 2 + } + ], + "signatures": [ + { + "id": 181, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` IS `value`.", + "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" + }, + "typeParameter": [ + { + "id": 182, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 183, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 182, + "name": "ColumnName" + } + }, + { + "id": 184, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": false + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": true + } + ] + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 185, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 186, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 187, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 164, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 117, + "character": 2 + } + ], + "signatures": [ + { + "id": 165, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-sensitively." + }, + "typeParameter": [ + { + "id": 166, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 167, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 166, + "name": "ColumnName" + } + }, + { + "id": 168, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 169, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 170, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 171, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 329, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 330, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 331, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 332, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 334, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [334] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 422, + "name": "default.limit" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 421, + "name": "default.limit" + } + }, + { + "id": 148, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 91, + "character": 2 + } + ], + "signatures": [ + { + "id": 149, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than `value`." + }, + "typeParameter": [ + { + "id": 150, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 151, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 150, + "name": "ColumnName" + } + }, + { + "id": 152, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 150, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 153, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 154, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 155, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 156, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 104, + "character": 2 + } + ], + "signatures": [ + { + "id": 157, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than or equal to `value`." + }, + "typeParameter": [ + { + "id": 158, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 159, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 158, + "name": "ColumnName" + } + }, + { + "id": 160, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 158, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 161, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 162, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 163, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 276, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 2 + } + ], + "signatures": [ + { + "id": 277, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." + }, + "typeParameter": [ + { + "id": 278, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 279, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 278, + "name": "ColumnName" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 278, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 280, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 281, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 347, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 348, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 523, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 440, + "name": "default.maybeSingle" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 439, + "name": "default.maybeSingle" + } + }, + { + "id": 124, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 52, + "character": 2 + } + ], + "signatures": [ + { + "id": 125, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is not equal to `value`." + }, + "typeParameter": [ + { + "id": 126, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 127, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 126, + "name": "ColumnName" + } + }, + { + "id": 128, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 126, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 129, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 130, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 131, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 282, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 396, + "character": 2 + } + ], + "signatures": [ + { + "id": 283, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` 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.\n" + }, + "typeParameter": [ + { + "id": 284, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 285, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 284, + "name": "ColumnName" + } + }, + { + "id": 286, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 287, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 284, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 288, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 289, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 290, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 292, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 420, + "character": 2 + } + ], + "signatures": [ + { + "id": 293, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 294, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 295, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 296, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 297, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 420, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [297] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 313, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 314, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You 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.\n" + }, + "typeParameter": [ + { + "id": 315, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 316, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 315, + "name": "ColumnName" + } + }, + { + "id": 317, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 319, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 321, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 320, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [319, 321, 320] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 406, + "name": "default.order" + } + }, + { + "id": 322, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 323, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 324, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 325, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 326, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 328, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [326, 328, 327] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 414, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 405, + "name": "default.order" + } + }, + { + "id": 252, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 313, + "character": 2 + } + ], + "signatures": [ + { + "id": 253, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, + "typeParameter": [ + { + "id": 254, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 255, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range column to filter on" + }, + "type": { + "type": "reference", + "id": 254, + "name": "ColumnName" + } + }, + { + "id": 256, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 254, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 257, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 258, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 259, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 335, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 336, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 337, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 338, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 339, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 341, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [341] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 428, + "name": "default.range" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 427, + "name": "default.range" + } + }, + { + "id": 244, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 299, + "character": 2 + } + ], + "signatures": [ + { + "id": 245, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." + }, + "typeParameter": [ + { + "id": 246, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 247, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 246, + "name": "ColumnName" + } + }, + { + "id": 248, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 249, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 250, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 251, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 212, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 240, + "character": 2 + } + ], + "signatures": [ + { + "id": 213, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." + }, + "typeParameter": [ + { + "id": 214, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 215, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 214, + "name": "ColumnName" + } + }, + { + "id": 216, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 217, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 218, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 219, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 220, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 255, + "character": 2 + } + ], + "signatures": [ + { + "id": 221, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 222, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 223, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 222, + "name": "ColumnName" + } + }, + { + "id": 224, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 225, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 226, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 227, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 228, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 269, + "character": 2 + } + ], + "signatures": [ + { + "id": 229, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." + }, + "typeParameter": [ + { + "id": 230, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 231, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 230, + "name": "ColumnName" + } + }, + { + "id": 232, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 233, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 234, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 236, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 284, + "character": 2 + } + ], + "signatures": [ + { + "id": 237, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 238, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 239, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 238, + "name": "ColumnName" + } + }, + { + "id": 240, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 241, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 242, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 363, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 229, + "character": 2 + } + ], + "signatures": [ + { + "id": 364, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 456, + "name": "default.rollback" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 455, + "name": "default.rollback" + } + }, + { + "id": 308, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 309, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 310, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 311, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 310, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 312, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 311, + "name": "NewResult" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 401, + "name": "default.select" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 400, + "name": "default.select" + } + }, + { + "id": 345, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 135, + "character": 2 + } + ], + "signatures": [ + { + "id": 346, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 438, + "name": "default.single" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 437, + "name": "default.single" + } + }, + { + "id": 260, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 339, + "character": 2 + } + ], + "signatures": [ + { + "id": 261, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." + }, + "typeParameter": [ + { + "id": 262, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 263, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The text or tsvector column to filter on" + }, + "type": { + "type": "reference", + "id": 262, + "name": "ColumnName" + } + }, + { + "id": 264, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The query text to match with" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 265, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 266, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 267, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The text search configuration to use" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 342, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 268, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Change how the `query` text is interpreted\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 342, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [267, 268] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 269, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 270, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 271, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 272, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 274, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 347, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 275, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 347, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [274, 275] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 380, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 381, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 382, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 383, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 384, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 385, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 386, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 387, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 388, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 390, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 391, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 473, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 472, + "name": "default.then" + } + }, + { + "id": 378, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 379, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 471, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 470, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [111] + }, + { + "title": "Properties", + "kind": 1024, + "children": [377, 369, 372, 367, 365, 368, 370, 371, 366] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 342, 204, 196, 349, 116, 353, 298, 351, 132, 140, 172, 188, 180, 164, 329, 148, 156, + 276, 347, 124, 282, 292, 313, 252, 335, 244, 212, 220, 228, 236, 363, 308, 345, 260, + 380, 378 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 27, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 392, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 393, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + ] + }, + { + "id": 49, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 50, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 13, + "character": 2 + } + ], + "signatures": [ + { + "id": 51, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 52, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } + } + ], + "parameters": [ + { + "id": 53, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 54, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 55, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 22, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 60, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 61, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 62, + "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": 56, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 20, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 57, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 21, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [58, 56, 57] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Relation" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 67, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 68, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 69, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 70, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 71, + "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": 69, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 70, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], + "id": 64, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { - "fileName": "lib/types.ts", - "line": 51, - "character": 40 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 8, + "character": 2 } ], "type": { "type": "reference", - "id": 67, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "T" - }, - { - "type": "intrinsic", - "name": "null" - } - ] + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } }, { "id": 65, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", + "name": "schema", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "typeParameter": [ - { - "id": 66, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], "sources": [ { - "fileName": "lib/types.ts", - "line": 40, - "character": 29 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 9, + "character": 2 } ], "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 5, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 67, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 66, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "typeParameter": [ - { - "id": 68, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], "sources": [ { - "fileName": "lib/types.ts", - "line": 48, - "character": 35 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 10, + "character": 2 } ], "type": { - "type": "union", - "types": [ - { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 63, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 104, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 296, + "character": 2 + } + ], + "signatures": [ + { + "id": 105, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a DELETE on the table or view.", + "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "parameters": [ + { + "id": 106, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 107, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 108, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 299, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [108] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { "type": "reference", - "id": 20, + "id": 110, "typeArguments": [ { - "type": "typeParameter", - "name": "T" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" } ], - "name": "PostgrestSingleResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" + "name": "default" } - ] - } + } + ] + }, + { + "id": 81, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 117, + "character": 2 + } + ], + "signatures": [ + { + "id": 82, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an INSERT into the table or view.", + "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 83, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 84, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 83, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 83, + "name": "Row" + } + } + ] + } + }, + { + "id": 85, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 86, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 87, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 122, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [87] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 72, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 52, + "character": 2 + } + ], + "signatures": [ + { + "id": 73, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT query on the table or view." + }, + "typeParameter": [ + { + "id": 74, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 75, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 74, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 74, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 76, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 74, + "name": "Query" + } + }, + { + "id": 77, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 80, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 62, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 79, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [80, 79] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "reference", + "id": 75, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 97, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 247, + "character": 2 + } + ], + "signatures": [ + { + "id": 98, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPDATE on the table or view.", + "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "typeParameter": [ + { + "id": 99, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 100, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to update with\n" + }, + "type": { + "type": "reference", + "id": 99, + "name": "Row" + } + }, + { + "id": 101, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 102, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 103, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 252, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [103] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 88, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 89, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.", + "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 90, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 91, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 90, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 90, + "name": "Row" + } + } + ] + } + }, + { + "id": 92, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 93, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 96, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 198, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 95, + "name": "ignoreDuplicates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 197, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 94, + "name": "onConflict", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 196, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [96, 95, 94] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] } ], "groups": [ { - "title": "Classes", - "kind": 128, - "children": [27] + "title": "Constructors", + "kind": 512, + "children": [50] }, { - "title": "Interfaces", - "kind": 256, - "children": [2, 13, 5, 20] + "title": "Properties", + "kind": 1024, + "children": [67, 64, 65, 66, 63] }, { - "title": "Type aliases", - "kind": 4194304, - "children": [58, 59, 69, 65, 67] + "title": "Methods", + "kind": 2048, + "children": [104, 81, 72, 97, 88] } ], "sources": [ { - "fileName": "lib/types.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 6, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 109, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } } ] }, { - "id": 470, - "name": "\"lib/version\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "id": 394, + "name": "PostgrestTransformBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, "children": [ { - "id": 471, - "name": "version", - "kind": 32, - "kindString": "Variable", + "id": 395, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 396, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 397, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 398, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 399, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 488, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 487, + "name": "default.constructor" + } + }, + { + "id": 469, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true, - "isConst": true + "isProtected": true }, "sources": [ { - "fileName": "lib/version.ts", - "line": 2, - "character": 20 + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 } ], "type": { - "type": "stringLiteral", - "value": "0.0.0-automated" + "type": "intrinsic", + "name": "boolean" }, - "defaultValue": "\"0.0.0-automated\"" + "inheritedFrom": { + "type": "reference", + "id": 503, + "name": "default.allowEmpty" + } + }, + { + "id": 461, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 495, + "name": "default.body" + } + }, + { + "id": 464, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 466, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 467, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 468, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 498, + "name": "default.fetch" + } + }, + { + "id": 459, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 493, + "name": "default.headers" + } + }, + { + "id": 457, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 491, + "name": "default.method" + } + }, + { + "id": 460, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 494, + "name": "default.schema" + } + }, + { + "id": 462, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 496, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 463, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 497, + "name": "default.signal" + } + }, + { + "id": 458, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 492, + "name": "default.url" + } + }, + { + "id": 434, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 124, + "character": 2 + } + ], + "signatures": [ + { + "id": 435, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 436, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" + }, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 441, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 155, + "character": 2 + } + ], + "signatures": [ + { + "id": 442, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 445, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 446, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 447, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 448, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 449, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 197, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 452, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 454, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 202, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 451, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 199, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 450, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 453, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [449, 452, 454, 451, 450, 453] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + }, + { + "id": 443, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 163, + "character": 2 + } + ], + "signatures": [ + { + "id": 444, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 421, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 422, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 423, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 424, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 426, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [426] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 439, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 440, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 523, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 405, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 406, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You 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.\n" + }, + "typeParameter": [ + { + "id": 407, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 408, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 315, + "name": "ColumnName" + } + }, + { + "id": 409, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 410, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 411, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 413, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 412, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411, 413, 412] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 414, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 415, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 416, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 417, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 418, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 420, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 419, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [418, 420, 419] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 427, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 428, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 429, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 430, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 431, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 433, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [433] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 455, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 229, + "character": 2 + } + ], + "signatures": [ + { + "id": 456, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 400, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 401, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 402, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 403, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 310, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 404, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 311, + "name": "NewResult" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 437, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 135, + "character": 2 + } + ], + "signatures": [ + { + "id": 438, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 472, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 473, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 474, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 475, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 476, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 477, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 478, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 479, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 480, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 482, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 483, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 507, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 506, + "name": "default.then" + } + }, + { + "id": 470, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 471, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 505, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 504, + "name": "default.throwOnError" + } } ], "groups": [ { - "title": "Variables", - "kind": 32, - "children": [471] + "title": "Constructors", + "kind": 512, + "children": [395] + }, + { + "title": "Properties", + "kind": 1024, + "children": [469, 461, 464, 459, 457, 460, 462, 463, 458] + }, + { + "title": "Methods", + "kind": 2048, + "children": [434, 441, 445, 443, 421, 439, 405, 427, 455, 400, 437, 472, 470] } ], "sources": [ { - "fileName": "lib/version.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 5, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 484, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 485, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 110, + "name": "PostgrestFilterBuilder" } ] + }, + { + "id": 525, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 526, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 528, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 527, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 528, 529, 527] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + }, + { + "id": 523, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 45, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 524, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 524, + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 519, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 35, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 520, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 520, + "name": "T" + } + ], + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 521, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 522, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 522, + "name": "T" + } + ], + "name": "PostgrestSingleResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } } ], "groups": [ { - "title": "Modules", - "kind": 1, - "children": [475, 513, 136, 337, 422, 71, 472, 1, 470] + "title": "Classes", + "kind": 128, + "children": [486, 1, 110, 49, 394] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [525, 523, 519, 521] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 } ] }, diff --git a/spec/enrichments/tsdoc_v1/gotrue.json b/spec/enrichments/tsdoc_v1/gotrue.json index 778105f9092..271a15c6288 100644 --- a/spec/enrichments/tsdoc_v1/gotrue.json +++ b/spec/enrichments/tsdoc_v1/gotrue.json @@ -6,9 +6,1926 @@ "flags": {}, "originalName": "", "children": [ + { + "id": 499, + "name": "AuthApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 500, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "signatures": [ + { + "id": 501, + "name": "new AuthApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 502, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 503, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 504, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 505, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2 + } + ], + "signatures": [ + { + "id": 506, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 507, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 509, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 508, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 510, + "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": [509, 508, 510] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [500] + }, + { + "title": "Properties", + "kind": 1024, + "children": [504] + }, + { + "title": "Methods", + "kind": 2048, + "children": [505] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 494, + "name": "AuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 495, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2 + } + ], + "signatures": [ + { + "id": 496, + "name": "new AuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 497, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [495] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 559, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 560, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 2 + } + ], + "signatures": [ + { + "id": 561, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 562, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 564, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 566, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 565, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [566, 565] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 567, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 570, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 569, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [570, 569] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 581, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 582, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 571, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 2 + } + ], + "signatures": [ + { + "id": 572, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 573, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 577, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 578, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 580, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 579, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [580, 579] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 575, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 574, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 81, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 576, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [577, 575, 574, 576] + } + ] + } + }, + "overwrites": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "overwrites": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [560] + }, + { + "title": "Properties", + "kind": 1024, + "children": [567, 581, 582] + }, + { + "title": "Methods", + "kind": 2048, + "children": [571] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 72, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 546, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 547, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 548, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 549, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 550, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 551, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 552, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 553, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 554, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 556, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 555, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 557, + "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": [556, 555, 557] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [547] + }, + { + "title": "Properties", + "kind": 1024, + "children": [550, 551] + }, + { + "title": "Methods", + "kind": 2048, + "children": [552] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 584, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 585, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 586, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 587, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 588, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 589, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 590, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 591, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 592, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 593, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 595, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 594, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 596, + "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": [595, 594, 596] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [585] + }, + { + "title": "Properties", + "kind": 1024, + "children": [589, 590] + }, + { + "title": "Methods", + "kind": 2048, + "children": [591] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 534, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 535, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 2 + } + ], + "signatures": [ + { + "id": 536, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 537, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 538, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 539, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 540, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 541, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 543, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 542, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 544, + "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": [543, 542, 544] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [535] + }, + { + "title": "Properties", + "kind": 1024, + "children": [537, 538] + }, + { + "title": "Methods", + "kind": 2048, + "children": [539] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 512, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 513, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 515, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 516, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 517, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [513] + }, + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 519, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 520, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 521, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 522, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 523, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 525, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "AuthError.name" + } + }, + { + "id": 526, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 527, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 528, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 529, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 531, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 530, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 532, + "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": [531, 530, 532] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [520] + }, + { + "title": "Properties", + "kind": 1024, + "children": [525, 526] + }, + { + "title": "Methods", + "kind": 2048, + "children": [527] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 42, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + } + ] + }, { "id": 1, - "name": "GoTrueApi", + "name": "GoTrueAdminApi", "kind": 128, "kindString": "Class", "flags": {}, @@ -21,15 +1938,15 @@ "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 25, + "fileName": "src/GoTrueAdminApi.ts", + "line": 19, "character": 2 } ], "signatures": [ { "id": 3, - "name": "new GoTrueApi", + "name": "new GoTrueAdminApi", "kind": 16384, "kindString": "Constructor signature", "flags": {}, @@ -51,27 +1968,6 @@ "children": [ { "id": 11, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 35, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 12, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -80,42 +1976,53 @@ }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 36, + "fileName": "src/GoTrueAdminApi.ts", + "line": 28, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 13, + "id": 12, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 14, + "id": 13, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 15, + "id": 14, "name": "input", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { - "id": 16, + "id": 15, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -159,8 +2066,8 @@ }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 32, + "fileName": "src/GoTrueAdminApi.ts", + "line": 25, "character": 4 } ], @@ -206,8 +2113,8 @@ "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 31, + "fileName": "src/GoTrueAdminApi.ts", + "line": 24, "character": 4 } ], @@ -221,7 +2128,7 @@ { "title": "Properties", "kind": 1024, - "children": [11, 12, 7, 6] + "children": [11, 7, 6] } ] } @@ -237,294 +2144,38 @@ ] }, { - "id": 22, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 22, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 23, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 24, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 25, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 26, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 27, - "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": 18, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 19, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 19, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 20, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 21, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 17, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 18, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 28, - "name": "_createRequestHeaders", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 49, - "character": 10 - } - ], - "signatures": [ - { - "id": 29, - "name": "_createRequestHeaders", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods" - }, - "parameters": [ - { - "id": 30, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 31, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - } - ] - }, - { - "id": 32, - "name": "cookieName", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 55, - "character": 10 - } - ], - "signatures": [ - { - "id": 33, - "name": "cookieName", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 196, + "id": 41, "name": "createUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 659, + "fileName": "src/GoTrueAdminApi.ts", + "line": 126, "character": 8 } ], "signatures": [ { - "id": 197, + "id": 42, "name": "createUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a new user.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser." }, "parameters": [ { - "id": 198, + "id": 43, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, - "comment": { - "shortText": "The data you want to create the user with.\n" - }, "type": { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } } @@ -533,158 +2184,9 @@ "type": "reference", "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 199, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 201, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 18 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 202, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 30 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } - }, - { - "id": 200, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [201, 202, 200] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 203, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 205, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 64 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - }, - { - "id": 206, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 76 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 204, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 662, - "character": 52 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [205, 206, 204] - } - ] - } - } - ] + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -695,148 +2197,37 @@ ] }, { - "id": 173, - "name": "deleteAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 549, - "character": 2 - } - ], - "signatures": [ - { - "id": 174, - "name": "deleteAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes the Auth Cookies and redirects to the" - }, - "parameters": [ - { - "id": 175, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 176, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 177, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Optionally specify a `redirectTo` URL in the options.\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 178, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 179, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 549, - "character": 63 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [179] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 241, + "id": 63, "name": "deleteUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 799, + "fileName": "src/GoTrueAdminApi.ts", + "line": 216, "character": 8 } ], "signatures": [ { - "id": 242, + "id": 64, "name": "deleteUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Delete a user. Requires a `service_role` key.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + "shortText": "Delete a user. Requires a `service_role` key." }, "parameters": [ { - "id": 243, - "name": "uid", + "id": 65, + "name": "id", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The user uid you want to remove.\n" + "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", @@ -848,107 +2239,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 246, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 247, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 245, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 801, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [246, 247, 245] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -959,524 +2252,39 @@ ] }, { - "id": 184, + "id": 38, "name": "generateLink", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 616, + "fileName": "src/GoTrueAdminApi.ts", + "line": 92, "character": 8 } ], "signatures": [ { - "id": 185, + "id": 39, "name": "generateLink", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Generates links to be sent via email or other." + "shortText": "Generates email links and OTPs to be sent via a custom email provider." }, "parameters": [ { - "id": 186, - "name": "type", + "id": 40, + "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, - "comment": { - "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")." - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - }, - { - "id": 187, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's email." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 188, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 189, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 627, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 190, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 626, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 192, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 628, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [191, 190, 192] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 193, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 194, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 630, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 195, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 630, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [194, 195] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 180, - "name": "getAuthCookieString", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 568, - "character": 2 - } - ], - "signatures": [ - { - "id": 181, - "name": "getAuthCookieString", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.", - "returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n" - }, - "parameters": [ - { - "id": 182, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 183, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ] - }, - { - "id": 34, - "name": "getUrlForProvider", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 65, - "character": 2 - } - ], - "signatures": [ - { - "id": 35, - "name": "getUrlForProvider", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Generates the relevant login URL for a third-party provider." - }, - "parameters": [ - { - "id": 36, - "name": "provider", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, "type": { "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 37, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 38, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 41, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 70, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 42, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 43, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 44, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 39, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 68, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 40, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 69, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [41, 39, 40] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 248, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 826, - "character": 8 - } - ], - "signatures": [ - { - "id": 249, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Gets the current user details.", - "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n" - }, - "parameters": [ - { - "id": 250, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n" - }, - "type": { - "type": "intrinsic", - "name": "string" + "id": 458, + "name": "GenerateLinkParams" } } ], @@ -1484,107 +2292,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 251, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 253, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 254, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 252, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 828, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [253, 254, 252] - } - ] - } + "type": "reference", + "id": 459, + "name": "GenerateLinkResponse" } ], "qualifiedName": "Promise", @@ -1595,211 +2305,21 @@ ] }, { - "id": 224, - "name": "getUserByCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 714, - "character": 8 - } - ], - "signatures": [ - { - "id": 225, - "name": "getUserByCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 226, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 227, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 228, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 231, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 720, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 232, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 721, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 229, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 718, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 230, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 719, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [231, 232, 229, 230] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 215, + "id": 56, "name": "getUserById", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 697, + "fileName": "src/GoTrueAdminApi.ts", + "line": 171, "character": 8 } ], "signatures": [ { - "id": 216, + "id": 57, "name": "getUserById", "kind": 4096, "kindString": "Call signature", @@ -1809,7 +2329,7 @@ }, "parameters": [ { - "id": 217, + "id": 58, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -1827,121 +2347,9 @@ "type": "reference", "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 218, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 219, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 15 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 220, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 27 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [219, 220] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 221, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 222, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 49 - } - ], - "type": { - "type": "reference", - "id": 505, - "name": "User" - } - }, - { - "id": 223, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 699, - "character": 61 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [222, 223] - } - ] - } - } - ] + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -1952,21 +2360,21 @@ ] }, { - "id": 142, + "id": 31, "name": "inviteUserByEmail", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 419, + "fileName": "src/GoTrueAdminApi.ts", + "line": 62, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 32, "name": "inviteUserByEmail", "kind": 4096, "kindString": "Call signature", @@ -1976,7 +2384,7 @@ }, "parameters": [ { - "id": 144, + "id": 33, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -1990,7 +2398,7 @@ } }, { - "id": 145, + "id": 34, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1998,24 +2406,27 @@ "type": { "type": "reflection", "declaration": { - "id": 146, + "id": 35, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 148, + "id": 37, "name": "data", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Optional user metadata\n" + }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 423, + "fileName": "src/GoTrueAdminApi.ts", + "line": 66, "character": 6 } ], @@ -2025,17 +2436,20 @@ } }, { - "id": 147, + "id": 36, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "A URL or mobile deeplink to send the user to after they are confirmed." + }, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 422, + "fileName": "src/GoTrueAdminApi.ts", + "line": 65, "character": 6 } ], @@ -2049,7 +2463,7 @@ { "title": "Properties", "kind": 1024, - "children": [148, 147] + "children": [37, 36] } ] } @@ -2061,79 +2475,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 149, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 150, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 425, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 151, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 425, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [150, 151] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -2144,21 +2488,21 @@ ] }, { - "id": 207, + "id": 44, "name": "listUsers", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, + "fileName": "src/GoTrueAdminApi.ts", + "line": 147, "character": 8 } ], "signatures": [ { - "id": 208, + "id": 45, "name": "listUsers", "kind": 4096, "kindString": "Call signature", @@ -2176,22 +2520,77 @@ { "type": "reflection", "declaration": { - "id": 209, + "id": 46, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 210, + "id": 47, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 48, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 49, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 14 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 310, + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [49] + } + ] + } + } + }, + { + "id": 50, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, "character": 31 } ], @@ -2199,32 +2598,13 @@ "type": "literal", "value": null } - }, - { - "id": 211, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 43 - } - ], - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [210, 211] + "children": [47, 50] } ] } @@ -2232,50 +2612,79 @@ { "type": "reflection", "declaration": { - "id": 212, + "id": 51, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 213, + "id": 52, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 65 + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 49 } ], "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 505, - "name": "User" + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 54, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 57 + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [54] + } + ] } } }, { - "id": 214, + "id": 55, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 679, - "character": 79 + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 70 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 494, + "name": "AuthError" } } ], @@ -2283,7 +2692,7 @@ { "title": "Properties", "kind": 1024, - "children": [213, 214] + "children": [52, 55] } ] } @@ -2299,1332 +2708,21 @@ ] }, { - "id": 163, - "name": "refreshAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 479, - "character": 8 - } - ], - "signatures": [ - { - "id": 164, - "name": "refreshAccessToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Generates a new JWT." - }, - "parameters": [ - { - "id": 165, - "name": "refreshToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid refresh token that was returned on login.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 167, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 481, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 168, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 481, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [167, 168] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 152, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 450, - "character": 8 - } - ], - "signatures": [ - { - "id": 153, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a reset request to an email address." - }, - "parameters": [ - { - "id": 154, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 155, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 158, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 454, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 157, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 453, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [158, 157] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 160, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 456, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 162, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 456, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [160, 162] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 95, - "name": "sendMagicLinkEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 272, - "character": 8 - } - ], - "signatures": [ - { - "id": 96, - "name": "sendMagicLinkEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a magic login link to an email address." - }, - "parameters": [ - { - "id": 97, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 98, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 99, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 102, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 277, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 101, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 276, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 100, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 275, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [102, 101, 100] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 103, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 104, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 279, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 105, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 106, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 279, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [104, 106] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 107, - "name": "sendMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 310, - "character": 8 - } - ], - "signatures": [ - { - "id": 108, - "name": "sendMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" - }, - "parameters": [ - { - "id": 109, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 110, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 111, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 113, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 314, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 112, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 313, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [113, 112] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 114, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 115, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 316, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 116, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - }, - { - "id": 117, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 316, - "character": 32 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [115, 117] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 169, - "name": "setAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 503, - "character": 2 - } - ], - "signatures": [ - { - "id": 170, - "name": "setAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 171, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 172, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The response object.\n" - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 57, - "name": "signInWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 139, - "character": 8 - } - ], - "signatures": [ - { - "id": 58, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 59, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 60, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 61, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 62, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 64, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 144, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 63, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 143, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [64, 63] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 65, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 66, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 146, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 67, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 146, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [66, 67] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 89, - "name": "signInWithOpenIDConnect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 241, - "character": 8 - } - ], - "signatures": [ - { - "id": 90, - "name": "signInWithOpenIDConnect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an OpenID Connect user using their id_token." - }, - "parameters": [ - { - "id": 91, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 92, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 93, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 247, - "character": 42 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 94, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 247, - "character": 64 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [93, 94] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 79, - "name": "signInWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 209, - "character": 8 - } - ], - "signatures": [ - { - "id": 80, - "name": "signInWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs in an existing user using their phone number and password." - }, - "parameters": [ - { - "id": 81, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 82, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 83, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 85, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 213, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [85] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 215, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 88, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 215, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [87, 88] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 118, + "id": 26, "name": "signOut", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 340, + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, "character": 8 } ], "signatures": [ { - "id": 119, + "id": 27, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -3634,7 +2732,7 @@ }, "parameters": [ { - "id": 120, + "id": 28, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3654,22 +2752,22 @@ { "type": "reflection", "declaration": { - "id": 121, + "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 122, + "id": 30, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 340, + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, "character": 40 } ], @@ -3682,8 +2780,8 @@ }, { "type": "reference", - "id": 483, - "name": "ApiError" + "id": 494, + "name": "AuthError" } ] } @@ -3693,7 +2791,7 @@ { "title": "Properties", "kind": 1024, - "children": [122] + "children": [30] } ] } @@ -3707,632 +2805,21 @@ ] }, { - "id": 45, - "name": "signUpWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 98, - "character": 8 - } - ], - "signatures": [ - { - "id": 46, - "name": "signUpWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new user using their email address.", - "returns": "A logged-in session if the server has \"autoconfirm\" ON" - }, - "parameters": [ - { - "id": 47, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 48, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 49, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 50, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 53, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 104, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 52, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 103, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 51, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 102, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [53, 52, 51] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 54, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 55, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 106, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 56, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 106, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [55, 56] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 68, - "name": "signUpWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 174, - "character": 8 - } - ], - "signatures": [ - { - "id": 69, - "name": "signUpWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Signs up a new user using their phone number and a password." - }, - "parameters": [ - { - "id": 70, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 72, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 73, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 75, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 179, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 74, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 178, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [75, 74] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 77, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 181, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 78, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 181, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [77, 78] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 255, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 844, - "character": 8 - } - ], - "signatures": [ - { - "id": 256, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 257, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A valid, logged-in JWT." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 258, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The data you want to update.\n" - }, - "type": { - "type": "reference", - "id": 533, - "name": "UserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 259, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 261, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 262, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 260, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 847, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [261, 262, 260] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 233, + "id": 59, "name": "updateUserById", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 777, + "fileName": "src/GoTrueAdminApi.ts", + "line": 193, "character": 8 } ], "signatures": [ { - "id": 234, + "id": 60, "name": "updateUserById", "kind": 4096, "kindString": "Call signature", @@ -4342,7 +2829,7 @@ }, "parameters": [ { - "id": 235, + "id": 61, "name": "uid", "kind": 32768, "kindString": "Parameter", @@ -4353,7 +2840,7 @@ } }, { - "id": 236, + "id": 62, "name": "attributes", "kind": 32768, "kindString": "Parameter", @@ -4363,7 +2850,7 @@ }, "type": { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } } @@ -4372,478 +2859,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 239, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 240, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 238, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 780, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [239, 240, 238] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 123, - "name": "verifyMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 360, - "character": 8 - } - ], - "signatures": [ - { - "id": 124, - "name": "verifyMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `verifyOTP` instead!" - } - ] - }, - "parameters": [ - { - "id": 125, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "token that user was sent to their mobile phone" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 128, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 129, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 364, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [129] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 130, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 131, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 366, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 132, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 366, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [131, 132] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 133, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 391, - "character": 8 - } - ], - "signatures": [ - { - "id": 134, - "name": "verifyOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Send User supplied Email / Mobile OTP to be verified" - }, - "parameters": [ - { - "id": 135, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { "type": "reference", - "id": 570, - "name": "VerifyOTPParams" - } - }, - { - "id": 136, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 137, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 138, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 394, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [138] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 139, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 140, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 396, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 141, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueApi.ts", - "line": 396, - "character": 44 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [140, 141] - } - ] - } + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -4860,37 +2878,29 @@ "kind": 512, "children": [2] }, - { - "title": "Properties", - "kind": 1024, - "children": [22, 23, 18, 17] - }, { "title": "Methods", "kind": 2048, - "children": [ - 28, 32, 196, 173, 241, 184, 180, 34, 248, 224, 215, 142, 207, 163, 152, 95, 107, 169, - 57, 89, 79, 118, 45, 68, 255, 233, 123, 133 - ] + "children": [41, 63, 38, 56, 31, 44, 26, 59] } ], "sources": [ { - "fileName": "src/GoTrueApi.ts", - "line": 17, + "fileName": "src/GoTrueAdminApi.ts", + "line": 12, "character": 21 } ] }, { - "id": 263, + "id": 66, "name": "GoTrueClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 264, + "id": 67, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4898,13 +2908,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 82, + "line": 104, "character": 2 } ], "signatures": [ { - "id": 265, + "id": 68, "name": "new GoTrueClient", "kind": 16384, "kindString": "Constructor signature", @@ -4914,380 +2924,39 @@ }, "parameters": [ { - "id": 266, + "id": 69, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reflection", - "declaration": { - "id": 267, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 274, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 86, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 278, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 90, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 557, - "name": "CookieOptions" - } - }, - { - "id": 273, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 85, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 279, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 91, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 280, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 281, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "A custom fetch implementation.\n" - }, - "parameters": [ - { - "id": 282, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 283, - "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": 269, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Any additional headers to send to the GoTrue server." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 84, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 270, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 271, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 272, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 276, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Provide your own local storage implementation to use instead of the browser's local storage." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 88, - "character": 4 - } - ], - "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": 277, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"false\" if you want to disable multi-tab/window events." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 89, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 275, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically save the user session into local storage." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 87, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 268, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL of the GoTrue server." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 83, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [274, 278, 273, 279, 269, 276, 277, 275, 268] - } - ] - } + "type": "reference", + "id": 241, + "name": "GoTrueClientOptions" } } ], "type": { "type": "reference", - "id": 263, + "id": 66, "name": "default" } } ] }, { - "id": 284, - "name": "api", + "id": 70, + "name": "admin", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { - "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password." + "shortText": "Namespace for the GoTrue admin methods.\nThese methods should only be used in a trusted server-side environment." }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 52, + "line": 68, "character": 2 } ], @@ -5298,1985 +2967,301 @@ } }, { - "id": 287, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 62, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 286, - "name": "currentSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "comment": { - "shortText": "The session object for the currently logged in user or null." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 285, - "name": "currentUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "comment": { - "shortText": "The currently logged in user or null." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 56, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 289, - "name": "localStorage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 64, - "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": 290, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 65, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 293, - "name": "networkRetries", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 68, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "0" - }, - { - "id": 288, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 63, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 292, - "name": "refreshTokenTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 67, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "NodeJS.Timeout", - "package": "@types/node", - "name": "Timeout" - } - }, - { - "id": 291, - "name": "stateChangeEmitters", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 66, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 549, - "name": "Subscription" - } - ], - "qualifiedName": "Map", - "package": "typescript", - "name": "Map" - }, - "defaultValue": "..." - }, - { - "id": 454, - "name": "_callRefreshToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 695, - "character": 16 - } - ], - "signatures": [ - { - "id": 455, - "name": "_callRefreshToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 456, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 457, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 458, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 459, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [458, 459] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 461, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 462, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [461, 462] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 383, - "name": "_handleEmailSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 520, - "character": 16 - } - ], - "signatures": [ - { - "id": 384, - "name": "_handleEmailSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 385, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 387, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 390, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 525, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 389, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 524, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [390, 389] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 391, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 392, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 395, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 394, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 393, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [392, 395, 394, 393] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 396, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 397, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 400, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 399, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - }, - "defaultValue": "data" - }, - { - "id": 398, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - }, - "defaultValue": "data.user" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [397, 400, 399, 398] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 443, - "name": "_handleOpenIDConnectSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 595, - "character": 16 - } - ], - "signatures": [ - { - "id": 444, - "name": "_handleOpenIDConnectSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 445, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 446, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 449, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 604, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 447, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 602, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 448, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 603, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [449, 447, 448] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 401, - "name": "_handlePhoneSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 546, - "character": 16 - } - ], - "signatures": [ - { - "id": 402, - "name": "_handlePhoneSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 403, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 406, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 407, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 550, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [407] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 412, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 411, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 410, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [409, 412, 411, 410] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 413, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 414, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - }, - { - "id": 417, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 416, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - }, - "defaultValue": "data" - }, - { - "id": 415, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - }, - "defaultValue": "data.user" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [414, 417, 416, 415] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 418, - "name": "_handleProviderSignIn", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 568, - "character": 10 - } - ], - "signatures": [ - { - "id": 419, - "name": "_handleProviderSignIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 420, - "name": "provider", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 421, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 422, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 425, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 573, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 426, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 427, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 428, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 423, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 571, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 424, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 572, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [425, 423, 424] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 429, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 432, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 435, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 430, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 433, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 431, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 434, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [432, 435, 430, 433, 431, 434] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 437, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 440, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 483, - "name": "ApiError" - }, - "defaultValue": "..." - }, - { - "id": 441, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 439, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - }, - { - "id": 442, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 438, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "literal", - "value": null - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [437, 440, 441, 439, 442, 438] - } - ] - } - } - ] - } - } - ] - }, - { - "id": 479, - "name": "_handleVisibilityChange", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 800, - "character": 10 - } - ], - "signatures": [ - { - "id": 480, - "name": "_handleVisibilityChange", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": false - } - ] - } - } - ] - }, - { - "id": 477, - "name": "_listenForMultiTabEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 777, - "character": 10 - } - ], - "signatures": [ - { - "id": 478, - "name": "_listenForMultiTabEvents", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Listens for changes to LocalStorage and updates the current session." - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": false - } - ] - } - } - ] - }, - { - "id": 463, - "name": "_notifyAllSubscribers", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 714, - "character": 10 - } - ], - "signatures": [ - { - "id": 464, - "name": "_notifyAllSubscribers", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 465, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 482, - "name": "AuthChangeEvent" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 469, - "name": "_persistSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 741, - "character": 10 - } - ], - "signatures": [ - { - "id": 470, - "name": "_persistSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 471, - "name": "currentSession", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 452, - "name": "_recoverAndRefresh", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 650, - "character": 16 - } - ], - "signatures": [ - { - "id": 453, - "name": "_recoverAndRefresh", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 450, - "name": "_recoverSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 630, - "character": 10 - } - ], - "signatures": [ - { - "id": 451, - "name": "_recoverSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Attempts to get the session from LocalStorage\nNote: this should never be async (even for React Native), as we need it to return immediately in the constructor." - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ] - }, - { - "id": 472, - "name": "_removeSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 746, - "character": 16 - } - ], - "signatures": [ - { - "id": 473, - "name": "_removeSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 466, - "name": "_saveSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 722, - "character": 10 - } - ], - "signatures": [ - { - "id": 467, - "name": "_saveSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible" - }, - "parameters": [ - { - "id": 468, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 474, - "name": "_startAutoRefreshToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 757, - "character": 10 - } - ], - "signatures": [ - { - "id": 475, - "name": "_startAutoRefreshToken", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Clear and re-create refresh token timer" - }, - "parameters": [ - { - "id": 476, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "time intervals in milliseconds\n" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 361, - "name": "getSessionFromUrl", + "id": 111, + "name": "getSession", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 428, + "line": 407, "character": 8 } ], "signatures": [ { - "id": 362, - "name": "getSessionFromUrl", + "id": 112, + "name": "getSession", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Gets the session data from a URL string" + "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." }, - "parameters": [ - { - "id": 363, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 364, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 365, - "name": "storeSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optionally store the session in the browser\n" - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 429, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [365] - } - ] - } - } - } - ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 366, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 367, - "name": "data", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 113, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/GoTrueClient.ts", - "line": 430, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 114, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 409, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 116, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 410, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [116] + } + ] + } + } + }, + { + "id": 117, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 412, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" } - ] - } - }, - { - "id": 368, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 430, - "character": 38 } ], - "type": { - "type": "union", - "types": [ - { + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [114, 117] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 118, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 119, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 415, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 121, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 416, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [121] + } + ] + } + } + }, + { + "id": 122, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 418, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [119, 122] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 124, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 421, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 125, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 126, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 422, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [126] + } + ] + } + } + }, + { + "id": 127, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 424, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [124, 127] + } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [367, 368] - } - ] - } + } + ] } ], "qualifiedName": "Promise", @@ -7287,7 +3272,103 @@ ] }, { - "id": 373, + "id": 128, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 470, + "character": 8 + } + ], + "signatures": [ + { + "id": 129, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Gets the current user details if there is an existing session." + }, + "parameters": [ + { + "id": 130, + "name": "jwt", + "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" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 92, + "name": "initialize", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 93, + "name": "initialize", + "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)." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 481, + "name": "InitializeResult" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 157, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -7295,58 +3376,60 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 500, + "line": 665, "character": 2 } ], "signatures": [ { - "id": 374, + "id": 158, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Receive a notification every time an auth event happens.", - "returns": "A subscription object which can be used to unsubscribe itself.\n" + "shortText": "Receive a notification every time an auth event happens." }, "parameters": [ { - "id": 375, + "id": 159, "name": "callback", "kind": 32768, "kindString": "Parameter", "flags": {}, + "comment": { + "shortText": "A callback function to be invoked when an auth event happens.\n" + }, "type": { "type": "reflection", "declaration": { - "id": 376, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 377, + "id": 161, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 378, + "id": 162, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 482, + "id": 240, "name": "AuthChangeEvent" } }, { - "id": 379, + "id": 163, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -7360,7 +3443,7 @@ }, { "type": "reference", - "id": 486, + "id": 291, "name": "Session" } ] @@ -7380,14 +3463,14 @@ "type": { "type": "reflection", "declaration": { - "id": 380, + "id": 164, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 381, + "id": 165, "name": "data", "kind": 1024, "kindString": "Property", @@ -7395,51 +3478,47 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 501, + "line": 666, "character": 4 } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 549, - "name": "Subscription" - } - ] - } - }, - { - "id": 382, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 502, - "character": 4 + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 666, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 352, + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [167] + } + ] } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] } } ], @@ -7447,7 +3526,7 @@ { "title": "Properties", "kind": 1024, - "children": [381, 382] + "children": [165] } ] } @@ -7456,392 +3535,45 @@ ] }, { - "id": 339, - "name": "refreshSession", + "id": 168, + "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 339, + "line": 688, "character": 8 } ], "signatures": [ { - "id": 340, - "name": "refreshSession", + "id": 169, + "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Force refreshes the session including the user data in case it was updated in a different session." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 342, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 340, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 344, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 342, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 343, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 341, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [342, 344, 343] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 337, - "name": "session", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 332, - "character": 2 - } - ], - "signatures": [ - { - "id": 338, - "name": "session", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the session data, if there is an active session." - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - } - ] - }, - { - "id": 358, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 411, - "character": 2 - } - ], - "signatures": [ - { - "id": 359, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Overrides the JWT on the current client. The JWT will then be sent in all subsequent network requests." + "shortText": "Sends a password reset request to an email address." }, "parameters": [ { - "id": 360, - "name": "access_token", + "id": 170, + "name": "email", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "a jwt access token\n" + "shortText": "The email address of the user." }, "type": { "type": "intrinsic", "name": "string" } - } - ], - "type": { - "type": "reference", - "id": 486, - "name": "Session" - } - } - ] - }, - { - "id": 352, - "name": "setSession", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 387, - "character": 8 - } - ], - "signatures": [ - { - "id": 353, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the session data from refresh_token and returns current Session and Error" - }, - "parameters": [ - { - "id": 354, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "a JWT token\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 355, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 357, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 389, - "character": 40 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 356, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 389, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [357, 356] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 306, - "name": "signIn", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 197, - "character": 8 - } - ], - "signatures": [ - { - "id": 307, - "name": "signIn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Log in an existing user, or login via a third-party provider." - }, - "parameters": [ - { - "id": 308, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 563, - "name": "UserCredentials" - } }, { - "id": 309, + "id": 171, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7849,24 +3581,27 @@ "type": { "type": "reflection", "declaration": { - "id": 310, + "id": 172, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 174, "name": "captchaToken", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site.\n" + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 203, + "line": 692, "character": 6 } ], @@ -7876,66 +3611,20 @@ } }, { - "id": 315, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 204, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 316, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 317, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 318, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 311, + "id": 173, "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, + "comment": { + "shortText": "The URL to send the user to after they click the password reset link." + }, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 200, + "line": 691, "character": 6 } ], @@ -7943,53 +3632,13 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 313, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 202, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 312, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 201, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [314, 315, 311, 313, 312] + "children": [174, 173] } ] } @@ -8001,157 +3650,126 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 319, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 324, - "name": "error", - "kind": 1024, - "kindString": "Property", + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 175, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", "flags": {}, - "sources": [ + "children": [ { - "fileName": "src/GoTrueClient.ts", - "line": 211, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 176, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 696, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 178, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 697, + "character": 8 + } + ], + "type": { "type": "literal", "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" } - ] - } - }, - { - "id": 322, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 209, - "character": 4 } ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 320, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ + "groups": [ { - "fileName": "src/GoTrueClient.ts", - "line": 207, - "character": 4 + "title": "Properties", + "kind": 1024, + "children": [176, 178] } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 323, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 210, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 321, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 208, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } + ] } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [324, 322, 320, 323, 321] + }, + { + "type": "reflection", + "declaration": { + "id": 179, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 180, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 181, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [180, 181] + } + ] } - ] - } + } + ] } ], "qualifiedName": "Promise", @@ -8162,7 +3780,221 @@ ] }, { - "id": 369, + "id": 134, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 534, + "character": 8 + } + ], + "signatures": [ + { + "id": 135, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid." + }, + "parameters": [ + { + "id": 136, + "name": "refresh_token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A refresh token returned by supabase auth.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 102, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 306, + "character": 8 + } + ], + "signatures": [ + { + "id": 103, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 104, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 403, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 267, + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 105, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 321, + "character": 8 + } + ], + "signatures": [ + { + "id": 106, + "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": 107, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 389, + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 99, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 256, + "character": 8 + } + ], + "signatures": [ + { + "id": 100, + "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": 101, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 376, + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 153, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -8170,20 +4002,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 485, + "line": 646, "character": 8 } ], "signatures": [ { - "id": 370, + "id": 154, "name": "signOut", "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)`. There is no way to revoke a user's session JWT before it automatically expires\n" + "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" }, "type": { "type": "reference", @@ -8191,14 +4023,14 @@ { "type": "reflection", "declaration": { - "id": 371, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 372, + "id": 156, "name": "error", "kind": 1024, "kindString": "Property", @@ -8206,7 +4038,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 485, + "line": 646, "character": 29 } ], @@ -8219,8 +4051,8 @@ }, { "type": "reference", - "id": 483, - "name": "ApiError" + "id": 494, + "name": "AuthError" } ] } @@ -8230,7 +4062,7 @@ { "title": "Properties", "kind": 1024, - "children": [372] + "children": [156] } ] } @@ -8244,7 +4076,7 @@ ] }, { - "id": 294, + "id": 96, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -8252,226 +4084,42 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 130, + "line": 193, "character": 8 } ], "signatures": [ { - "id": 295, + "id": 97, "name": "signUp", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Creates a new user." + "shortText": "Creates a new user.", + "returns": "A logged-in session if the server has \"autoconfirm\" ON" }, "parameters": [ { - "id": 296, - "name": "__namedParameters", + "id": 98, + "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 563, - "name": "UserCredentials" + "id": 360, + "name": "SignUpWithPasswordCredentials" } - }, - { - "id": 297, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 298, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 301, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 135, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 300, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 134, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 299, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 133, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [301, 300, 299] - } - ] - } - }, - "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 305, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 140, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 304, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 139, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 303, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 138, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [305, 304, 303] - } - ] - } + "type": "reference", + "id": 254, + "name": "AuthResponse" } ], "qualifiedName": "Promise", @@ -8482,22 +4130,22 @@ ] }, { - "id": 345, - "name": "update", + "id": 131, + "name": "updateUser", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 360, + "line": 499, "character": 8 } ], "signatures": [ { - "id": 346, - "name": "update", + "id": 132, + "name": "updateUser", "kind": 4096, "kindString": "Call signature", "flags": {}, @@ -8506,14 +4154,14 @@ }, "parameters": [ { - "id": 347, + "id": 133, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 533, + "id": 338, "name": "UserAttributes" } } @@ -8522,107 +4170,9 @@ "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 348, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 349, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - }, - { - "id": 351, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 53 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 350, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 362, - "character": 34 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [349, 351, 350] - } - ] - } + "type": "reference", + "id": 280, + "name": "UserResponse" } ], "qualifiedName": "Promise", @@ -8633,63 +4183,22 @@ ] }, { - "id": 335, - "name": "user", + "id": 108, + "name": "verifyOtp", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 325, - "character": 2 - } - ], - "signatures": [ - { - "id": 336, - "name": "user", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Inside a browser context, `user()` will return the user data, if there is a logged in user.", - "text": "For server-side management, you can get a user through `auth.api.getUserByCookie()`\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ] - }, - { - "id": 325, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 277, + "line": 363, "character": 8 } ], "signatures": [ { - "id": 326, - "name": "verifyOTP", + "id": 109, + "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", "flags": {}, @@ -8698,170 +4207,25 @@ }, "parameters": [ { - "id": 327, + "id": 110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 570, - "name": "VerifyOTPParams" + "id": 414, + "name": "VerifyOtpParams" } - }, - { - "id": 328, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 330, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 280, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [330] - } - ] - } - }, - "defaultValue": "{}" } ], "type": { "type": "reference", "typeArguments": [ { - "type": "reflection", - "declaration": { - "id": 331, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 334, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 285, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 483, - "name": "ApiError" - } - ] - } - }, - { - "id": 333, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 284, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 486, - "name": "Session" - } - ] - } - }, - { - "id": 332, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 283, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [334, 333, 332] - } - ] - } + "type": "reference", + "id": 254, + "name": "AuthResponse" } ], "qualifiedName": "Promise", @@ -8876,39 +4240,36 @@ { "title": "Constructors", "kind": 512, - "children": [264] + "children": [67] }, { "title": "Properties", "kind": 1024, - "children": [284, 287, 286, 285, 289, 290, 293, 288, 292, 291] + "children": [70] }, { "title": "Methods", "kind": 2048, - "children": [ - 454, 383, 443, 401, 418, 479, 477, 463, 469, 452, 450, 472, 466, 474, 361, 373, 339, - 337, 358, 352, 306, 369, 294, 345, 335, 325 - ] + "children": [111, 128, 92, 157, 168, 134, 102, 105, 99, 153, 96, 131, 108] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 47, + "line": 63, "character": 21 } ] }, { - "id": 539, + "id": 343, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 541, + "id": 345, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8916,13 +4277,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for app_metadata that.", - "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" + "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": 137, + "line": 205, "character": 2 } ], @@ -8932,7 +4293,7 @@ } }, { - "id": 548, + "id": 351, "name": "data", "kind": 1024, "kindString": "Property", @@ -8940,12 +4301,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + "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": 112, + "line": 180, "character": 2 } ], @@ -8955,12 +4317,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 538, + "id": 342, "name": "UserAttributes.data" } }, { - "id": 544, + "id": 348, "name": "email", "kind": 1024, "kindString": "Property", @@ -8973,7 +4335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 162, "character": 2 } ], @@ -8983,40 +4345,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 534, + "id": 339, "name": "UserAttributes.email" } }, { - "id": 547, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "UserAttributes.email_change_token" - } - }, - { - "id": 542, + "id": 346, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -9024,13 +4358,13 @@ "isOptional": true }, "comment": { - "shortText": "Sets if a user has confirmed their email address.", + "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": 144, + "line": 212, "character": 2 } ], @@ -9040,7 +4374,7 @@ } }, { - "id": 546, + "id": 350, "name": "password", "kind": 1024, "kindString": "Property", @@ -9053,7 +4387,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 172, "character": 2 } ], @@ -9063,12 +4397,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 536, + "id": 341, "name": "UserAttributes.password" } }, { - "id": 545, + "id": 349, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9081,7 +4415,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 167, "character": 2 } ], @@ -9091,12 +4425,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 535, + "id": 340, "name": "UserAttributes.phone" } }, { - "id": 543, + "id": 347, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -9104,13 +4438,13 @@ "isOptional": true }, "comment": { - "shortText": "Sets if a user has confirmed their phone number.", + "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": 151, + "line": 219, "character": 2 } ], @@ -9120,7 +4454,7 @@ } }, { - "id": 540, + "id": 344, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9128,13 +4462,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata.", - "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 127, + "line": 195, "character": 2 } ], @@ -9148,182 +4482,70 @@ { "title": "Properties", "kind": 1024, - "children": [541, 548, 544, 547, 542, 546, 545, 543, 540] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 115, + "line": 183, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 533, + "id": 338, "name": "UserAttributes" } ] }, { - "id": 483, - "name": "ApiError", + "id": 455, + "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 484, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 485, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [484, 485] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 27, - "character": 17 - } - ] - }, - { - "id": 557, - "name": "CookieOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 560, - "name": "domain", + "id": 456, + "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": 175, + "line": 402, "character": 2 } ], "type": { "type": "intrinsic", - "name": "string" + "name": "object" } }, { - "id": 559, - "name": "lifetime", + "id": 457, + "name": "redirectTo", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 173, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 558, - "name": "name", - "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": 171, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 561, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 176, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 562, - "name": "sameSite", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 178, + "line": 404, "character": 2 } ], @@ -9337,154 +4559,37 @@ { "title": "Properties", "kind": 1024, - "children": [560, 559, 558, 561, 562] + "children": [456, 457] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 169, + "line": 396, "character": 17 } ] }, { - "id": 583, - "name": "OpenIDConnectCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 587, - "name": "client_id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 584, - "name": "id_token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 208, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 588, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 212, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 585, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 209, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 586, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [587, 584, 588, 585, 586] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 207, - "character": 17 - } - ] - }, - { - "id": 486, + "id": 291, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 488, + "id": 293, "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": 34, + "line": 101, "character": 2 } ], @@ -9494,7 +4599,7 @@ } }, { - "id": 490, + "id": 296, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -9507,7 +4612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 113, "character": 2 } ], @@ -9517,20 +4622,18 @@ } }, { - "id": 489, + "id": 295, "name": "expires_in", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "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": 38, + "line": 109, "character": 2 } ], @@ -9540,7 +4643,7 @@ } }, { - "id": 487, + "id": 292, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -9550,7 +4653,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 33, + "line": 97, "character": 2 } ], @@ -9569,17 +4672,18 @@ } }, { - "id": 491, + "id": 294, "name": "refresh_token", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "shortText": "A one-time used refresh token that never expires." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 43, + "line": 105, "character": 2 } ], @@ -9589,7 +4693,7 @@ } }, { - "id": 492, + "id": 297, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -9597,7 +4701,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 114, "character": 2 } ], @@ -9607,7 +4711,7 @@ } }, { - "id": 493, + "id": 298, "name": "user", "kind": 1024, "kindString": "Property", @@ -9615,23 +4719,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 115, "character": 2 } ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 505, - "name": "User" - } - ] + "type": "reference", + "id": 310, + "name": "User" } } ], @@ -9639,26 +4734,26 @@ { "title": "Properties", "kind": 1024, - "children": [488, 490, 489, 487, 491, 492, 493] + "children": [293, 296, 295, 292, 294, 297, 298] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 96, "character": 17 } ] }, { - "id": 549, + "id": 352, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 550, + "id": 353, "name": "id", "kind": 1024, "kindString": "Property", @@ -9669,7 +4764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 226, "character": 2 } ], @@ -9679,7 +4774,7 @@ } }, { - "id": 551, + "id": 354, "name": "callback", "kind": 2048, "kindString": "Method", @@ -9687,13 +4782,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 230, "character": 2 } ], "signatures": [ { - "id": 552, + "id": 355, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -9703,19 +4798,19 @@ }, "parameters": [ { - "id": 553, + "id": 356, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 482, + "id": 240, "name": "AuthChangeEvent" } }, { - "id": 554, + "id": 357, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9729,7 +4824,7 @@ }, { "type": "reference", - "id": 486, + "id": 291, "name": "Session" } ] @@ -9744,7 +4839,7 @@ ] }, { - "id": 555, + "id": 358, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -9752,13 +4847,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 166, + "line": 234, "character": 2 } ], "signatures": [ { - "id": 556, + "id": 359, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -9778,31 +4873,31 @@ { "title": "Properties", "kind": 1024, - "children": [550] + "children": [353] }, { "title": "Methods", "kind": 2048, - "children": [551, 555] + "children": [354, 358] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 154, + "line": 222, "character": 17 } ] }, { - "id": 505, + "id": 310, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 522, + "id": 327, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -9812,7 +4907,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 145, "character": 2 } ], @@ -9822,7 +4917,7 @@ } }, { - "id": 507, + "id": 312, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9830,21 +4925,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 132, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 508, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 509, + "id": 314, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9854,7 +4949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 63, + "line": 133, "character": 4 } ], @@ -9868,18 +4963,18 @@ { "title": "Properties", "kind": 1024, - "children": [509] + "children": [314] } ], "indexSignature": { - "id": 510, + "id": 315, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 511, + "id": 316, "name": "key", "kind": 32768, "flags": {}, @@ -9898,7 +4993,7 @@ } }, { - "id": 516, + "id": 321, "name": "aud", "kind": 1024, "kindString": "Property", @@ -9906,7 +5001,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 139, "character": 2 } ], @@ -9916,7 +5011,7 @@ } }, { - "id": 517, + "id": 322, "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", @@ -9926,7 +5021,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 70, + "line": 140, "character": 2 } ], @@ -9936,7 +5031,7 @@ } }, { - "id": 526, + "id": 331, "name": "confirmed_at", "kind": 1024, "kindString": "Property", @@ -9946,7 +5041,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 79, + "line": 149, "character": 2 } ], @@ -9956,7 +5051,7 @@ } }, { - "id": 525, + "id": 330, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -9964,7 +5059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 148, "character": 2 } ], @@ -9974,7 +5069,7 @@ } }, { - "id": 523, + "id": 328, "name": "email", "kind": 1024, "kindString": "Property", @@ -9984,7 +5079,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 76, + "line": 146, "character": 2 } ], @@ -9994,7 +5089,7 @@ } }, { - "id": 519, + "id": 324, "name": "email_change_sent_at", "kind": 1024, "kindString": "Property", @@ -10004,7 +5099,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 72, + "line": 142, "character": 2 } ], @@ -10014,7 +5109,7 @@ } }, { - "id": 527, + "id": 332, "name": "email_confirmed_at", "kind": 1024, "kindString": "Property", @@ -10024,7 +5119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 150, "character": 2 } ], @@ -10034,7 +5129,7 @@ } }, { - "id": 506, + "id": 311, "name": "id", "kind": 1024, "kindString": "Property", @@ -10042,7 +5137,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 131, "character": 2 } ], @@ -10052,7 +5147,7 @@ } }, { - "id": 532, + "id": 337, "name": "identities", "kind": 1024, "kindString": "Property", @@ -10062,7 +5157,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 85, + "line": 155, "character": 2 } ], @@ -10070,13 +5165,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 494, + "id": 299, "name": "UserIdentity" } } }, { - "id": 521, + "id": 326, "name": "invited_at", "kind": 1024, "kindString": "Property", @@ -10086,7 +5181,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 144, "character": 2 } ], @@ -10096,7 +5191,7 @@ } }, { - "id": 529, + "id": 334, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -10106,7 +5201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 152, "character": 2 } ], @@ -10116,7 +5211,7 @@ } }, { - "id": 520, + "id": 325, "name": "new_email", "kind": 1024, "kindString": "Property", @@ -10126,7 +5221,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 143, "character": 2 } ], @@ -10136,7 +5231,7 @@ } }, { - "id": 524, + "id": 329, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10146,7 +5241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 147, "character": 2 } ], @@ -10156,7 +5251,7 @@ } }, { - "id": 528, + "id": 333, "name": "phone_confirmed_at", "kind": 1024, "kindString": "Property", @@ -10166,7 +5261,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 81, + "line": 151, "character": 2 } ], @@ -10176,7 +5271,7 @@ } }, { - "id": 518, + "id": 323, "name": "recovery_sent_at", "kind": 1024, "kindString": "Property", @@ -10186,7 +5281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 141, "character": 2 } ], @@ -10196,7 +5291,7 @@ } }, { - "id": 530, + "id": 335, "name": "role", "kind": 1024, "kindString": "Property", @@ -10206,7 +5301,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 83, + "line": 153, "character": 2 } ], @@ -10216,7 +5311,7 @@ } }, { - "id": 531, + "id": 336, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -10226,7 +5321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 84, + "line": 154, "character": 2 } ], @@ -10236,7 +5331,7 @@ } }, { - "id": 512, + "id": 317, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -10244,27 +5339,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 136, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 513, + "id": 318, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 514, + "id": 319, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 515, + "id": 320, "name": "key", "kind": 32768, "flags": {}, @@ -10288,28 +5383,28 @@ "title": "Properties", "kind": 1024, "children": [ - 522, 507, 516, 517, 526, 525, 523, 519, 527, 506, 532, 521, 529, 520, 524, 528, 518, - 530, 531, 512 + 327, 312, 321, 322, 331, 330, 328, 324, 332, 311, 337, 326, 334, 325, 329, 333, 323, + 335, 336, 317 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 130, "character": 17 } ] }, { - "id": 533, + "id": 338, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 538, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -10317,12 +5412,13 @@ "isOptional": true }, "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + "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": 112, + "line": 180, "character": 2 } ], @@ -10332,7 +5428,7 @@ } }, { - "id": 534, + "id": 339, "name": "email", "kind": 1024, "kindString": "Property", @@ -10345,7 +5441,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 162, "character": 2 } ], @@ -10355,30 +5451,7 @@ } }, { - "id": 537, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 536, + "id": 341, "name": "password", "kind": 1024, "kindString": "Property", @@ -10391,7 +5464,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 172, "character": 2 } ], @@ -10401,7 +5474,7 @@ } }, { - "id": 535, + "id": 340, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10414,7 +5487,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 167, "character": 2 } ], @@ -10428,178 +5501,33 @@ { "title": "Properties", "kind": 1024, - "children": [538, 534, 537, 536, 535] + "children": [342, 339, 341, 340] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 88, + "line": 158, "character": 17 } ], "extendedBy": [ { "type": "reference", - "id": 539, + "id": 343, "name": "AdminUserAttributes" } ] }, { - "id": 563, - "name": "UserCredentials", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 564, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 182, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 569, - "name": "oidc", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 188, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 583, - "name": "OpenIDConnectCredentials" - } - }, - { - "id": 566, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 184, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 565, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 568, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 187, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 481, - "name": "Provider" - } - }, - { - "id": 567, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 185, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [564, 569, 566, 565, 568, 567] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 181, - "character": 17 - } - ] - }, - { - "id": 494, + "id": 299, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 502, + "id": 307, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -10607,7 +5535,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 125, "character": 2 } ], @@ -10617,7 +5545,7 @@ } }, { - "id": 495, + "id": 300, "name": "id", "kind": 1024, "kindString": "Property", @@ -10625,7 +5553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 119, "character": 2 } ], @@ -10635,7 +5563,7 @@ } }, { - "id": 497, + "id": 302, "name": "identity_data", "kind": 1024, "kindString": "Property", @@ -10643,27 +5571,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 51, + "line": 121, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 498, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 499, + "id": 304, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 500, + "id": 305, "name": "key", "kind": 32768, "flags": {}, @@ -10682,7 +5610,7 @@ } }, { - "id": 503, + "id": 308, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", @@ -10690,7 +5618,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 126, "character": 2 } ], @@ -10700,7 +5628,7 @@ } }, { - "id": 501, + "id": 306, "name": "provider", "kind": 1024, "kindString": "Property", @@ -10708,7 +5636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 54, + "line": 124, "character": 2 } ], @@ -10718,7 +5646,7 @@ } }, { - "id": 504, + "id": 309, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -10728,7 +5656,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 127, "character": 2 } ], @@ -10738,7 +5666,7 @@ } }, { - "id": 496, + "id": 301, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -10746,7 +5674,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 120, "character": 2 } ], @@ -10760,34 +5688,37 @@ { "title": "Properties", "kind": 1024, - "children": [502, 495, 497, 503, 501, 504, 496] + "children": [307, 300, 302, 308, 306, 309, 301] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 118, "character": 17 } ] }, { - "id": 576, - "name": "VerifyEmailOTPParams", + "id": 423, + "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 577, + "id": 424, "name": "email", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The user's email address." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 199, + "line": 348, "character": 2 } ], @@ -10797,8 +5728,8 @@ } }, { - "id": 578, - "name": "phone", + "id": 427, + "name": "options", "kind": 1024, "kindString": "Property", "flags": { @@ -10807,25 +5738,89 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 200, + "line": 353, "character": 2 } ], "type": { - "type": "intrinsic", - "name": "undefined" + "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": 357, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "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": 355, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [430, 429] + } + ] + } } }, { - "id": 579, + "id": 425, "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": 201, + "line": 350, "character": 2 } ], @@ -10835,22 +5830,25 @@ } }, { - "id": 580, + "id": 426, "name": "type", "kind": 1024, "kindString": "Property", "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 202, + "line": 352, "character": 2 } ], "type": { "type": "reference", - "id": 582, - "name": "EmailOTPType" + "id": 432, + "name": "EmailOtpType" } } ], @@ -10858,27 +5856,27 @@ { "title": "Properties", "kind": 1024, - "children": [577, 578, 579, 580] + "children": [424, 427, 425, 426] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 198, + "line": 346, "character": 17 } ] }, { - "id": 571, - "name": "VerifyMobileOTPParams", + "id": 415, + "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 572, - "name": "email", + "id": 419, + "name": "options", "kind": 1024, "kindString": "Property", "flags": { @@ -10887,70 +5885,138 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 193, + "line": 339, "character": 2 } ], "type": { - "type": "intrinsic", - "name": "undefined" + "type": "reflection", + "declaration": { + "id": 420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 422, + "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": 343, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 421, + "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": 341, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [422, 421] + } + ] + } } }, { - "id": 573, + "id": 416, "name": "phone", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 194, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 574, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 195, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 575, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true + "comment": { + "shortText": "The user's phone number." }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 334, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "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": 336, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 418, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 338, "character": 2 } ], "type": { "type": "reference", - "id": 581, - "name": "MobileOTPType" + "id": 431, + "name": "MobileOtpType" } } ], @@ -10958,19 +6024,19 @@ { "title": "Properties", "kind": 1024, - "children": [572, 573, 574, 575] + "children": [419, 416, 417, 418] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 332, "character": 17 } ] }, { - "id": 482, + "id": 240, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -10978,7 +6044,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 19, + "line": 23, "character": 12 } ], @@ -11013,15 +6079,440 @@ } }, { - "id": 582, - "name": "EmailOTPType", + "id": 254, + "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 50, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 256, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 257, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 259, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 291, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 258, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 310, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [259, 258] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 12 + } + ] + } + } + }, + { + "id": 260, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [256, 260] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 261, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 262, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 263, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 265, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 264, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [265, 264] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 12 + } + ] + } + } + }, + { + "id": 266, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 63, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [262, 266] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 484, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 472, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 487, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 475, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 486, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 474, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [487, 486] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 473, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 488, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 479, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + }, + { + "id": 489, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 478, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490, 489] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 477, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 432, + "name": "EmailOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, "character": 12 } ], @@ -11052,15 +6543,1333 @@ } }, { - "id": 581, - "name": "MobileOTPType", + "id": 449, + "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 204, + "line": 385, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 450, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 452, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 388, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 453, + "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": 392, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 393, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 451, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [452, 453, 454, 451] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 385, + "character": 44 + } + ] + } + } + }, + { + "id": 439, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 440, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 442, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 374, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 375, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 441, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 372, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [442, 443, 441] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 46 + } + ] + } + } + }, + { + "id": 458, + "name": "GenerateLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 407, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 433, + "name": "GenerateSignupLinkParams" + }, + { + "type": "reference", + "id": 439, + "name": "GenerateInviteOrMagiclinkParams" + }, + { + "type": "reference", + "id": 444, + "name": "GenerateRecoveryLinkParams" + }, + { + "type": "reference", + "id": 449, + "name": "GenerateEmailChangeLinkParams" + } + ] + } + }, + { + "id": 472, + "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": 430, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 473, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 474, + "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": 435, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 475, + "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": 440, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 476, + "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": 444, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "redirect_to", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL appended to the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 478, + "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": 448, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 479, + "name": "GenerateLinkType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [474, 475, 476, 477, 478] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 430, + "character": 37 + } + ] + } + } + }, + { + "id": 459, + "name": "GenerateLinkResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 460, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 461, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 462, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 463, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 416, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 472, + "name": "GenerateLinkProperties" + } + }, + { + "id": 464, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 417, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [463, 464] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 12 + } + ] + } + } + }, + { + "id": 465, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 419, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [461, 465] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 414, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 466, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 467, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 468, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 469, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 470, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 424, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [469, 470] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 12 + } + ] + } + } + }, + { + "id": 471, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 426, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [467, 471] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 421, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 479, + "name": "GenerateLinkType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 451, + "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": 444, + "name": "GenerateRecoveryLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 445, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 447, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 381, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 448, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 382, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 446, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 379, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [447, 448, 446] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 41 + } + ] + } + } + }, + { + "id": 433, + "name": "GenerateSignupLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 434, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 436, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 366, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 437, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 367, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 365, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [436, 438, 437, 435] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 39 + } + ] + } + } + }, + { + "id": 241, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 242, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 250, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 249, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 253, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "Fetch" + } + }, + { + "id": 244, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 12 + } + ], + "indexSignature": { + "id": 246, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 247, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 251, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 252, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 480, + "name": "SupportedStorage" + } + }, + { + "id": 248, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [250, 249, 253, 244, 251, 252, 248, 243] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 34 + } + ] + } + } + }, + { + "id": 481, + "name": "InitializeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 482, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 483, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [483] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 31 + } + ] + } + } + }, + { + "id": 431, + "name": "MobileOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, "character": 12 } ], @@ -11079,15 +7888,280 @@ } }, { - "id": 481, - "name": "Provider", + "id": 267, + "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 66, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 268, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 269, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 270, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 271, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 272, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [271, 272] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 12 + } + ] + } + } + }, + { + "id": 273, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [269, 273] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 275, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 276, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 277, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 278, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [277, 278] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 12 + } + ] + } + } + }, + { + "id": 279, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [275, 279] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 239, + "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 } ], @@ -11162,7 +8236,1169 @@ } }, { - "id": 589, + "id": 403, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 406, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 407, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 410, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object of query params" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 18 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 408, + "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": 323, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 409, + "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": 325, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [410, 408, 409] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 12 + } + ] + } + } + }, + { + "id": 405, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 320, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [406, 405] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 41 + } + ] + } + } + }, + { + "id": 376, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 377, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 378, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 275, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 380, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 382, + "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": 280, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [382] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 16 + } + ] + } + } + }, + { + "id": 379, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 277, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [378, 380, 379] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 273, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 386, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 387, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 388, + "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": 290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [388] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 16 + } + ] + } + } + }, + { + "id": 385, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 287, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 285, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [386, 385, 384] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 283, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 389, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 294, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 390, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 391, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 297, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 396, + "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": 304, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, + "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": 300, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "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": 302, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [396, 394, 395] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [391, 392] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 397, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 399, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 400, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 402, + "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": 314, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 401, + "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": 312, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [402, 401] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 16 + } + ] + } + } + }, + { + "id": 398, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 309, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [399, 398] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 307, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 360, + "name": "SignUpWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 237, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 361, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 362, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 240, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "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": 253, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "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": 251, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 366, + "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": 245, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 367, 366] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 16 + } + ] + } + } + }, + { + "id": 363, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 242, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [362, 364, 363] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 238, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 372, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "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": 269, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 374, + "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": 267, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 374] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 16 + } + ] + } + } + }, + { + "id": 371, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 260, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 370, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 258, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [372, 371, 370] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 256, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 480, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -11170,7 +9406,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 224, + "line": 468, "character": 12 } ], @@ -11213,15 +9449,240 @@ } }, { - "id": 570, - "name": "VerifyOTPParams", + "id": 280, + "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 82, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 281, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 282, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [284] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 12 + } + ] + } + } + }, + { + "id": 285, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 87, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [282, 285] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 286, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 287, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 289, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [289] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 12 + } + ] + } + } + }, + { + "id": 290, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 93, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [287, 290] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 89, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 414, + "name": "VerifyOtpParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, "character": 12 } ], @@ -11230,33 +9691,87 @@ "types": [ { "type": "reference", - "id": 571, - "name": "VerifyMobileOTPParams" + "id": 415, + "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 576, - "name": "VerifyEmailOTPParams" + "id": 423, + "name": "VerifyEmailOtpParams" } ] } + }, + { + "id": 491, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 492, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 493, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + } + ] } ], "groups": [ { "title": "Classes", "kind": 128, - "children": [1, 263] + "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66] }, { "title": "Interfaces", "kind": 256, - "children": [539, 483, 557, 583, 486, 549, 505, 533, 563, 494, 576, 571] + "children": [343, 455, 291, 352, 310, 338, 299, 423, 415] }, { - "title": "Type aliases", + "title": "Type Aliases", "kind": 4194304, - "children": [482, 582, 581, 481, 589, 570] + "children": [ + 240, 254, 484, 432, 449, 439, 458, 472, 459, 479, 444, 433, 241, 481, 431, 267, 239, 403, + 376, 389, 360, 480, 280, 414 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [491] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v1/postgrest.json b/spec/enrichments/tsdoc_v1/postgrest.json index bf1dae1b947..7be98a509dd 100644 --- a/spec/enrichments/tsdoc_v1/postgrest.json +++ b/spec/enrichments/tsdoc_v1/postgrest.json @@ -1,2929 +1,1635 @@ { "id": 0, "name": "@supabase/postgrest-js", - "kind": 0, + "kind": 1, + "kindString": "Project", "flags": {}, "originalName": "", "children": [ { - "id": 475, - "name": "\"PostgrestClient\"", - "kind": 1, - "kindString": "Module", + "id": 486, + "name": "PostgrestBuilder", + "kind": 128, + "kindString": "Class", "flags": { - "isExported": true + "isAbstract": true }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", "children": [ { - "id": 476, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "children": [ + "id": 487, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ { - "id": 485, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "signatures": [ + "fileName": "src/PostgrestBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 488, + "name": "new PostgrestBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ { - "id": 486, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "parameters": [ - { - "id": 487, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "URL of the PostgREST endpoint." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 488, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 489, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 495, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 26, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 490, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Custom headers." - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 24, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 491, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 492, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 493, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 494, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Postgres schema to switch to.\n" - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 496, - "name": "throwOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 27, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [495, 490, 494, 496] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 22, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 476, - "name": "PostgrestClient" - } + "id": 489, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} } ], - "sources": [ + "parameters": [ { - "fileName": "PostgrestClient.ts", - "line": 12, - "character": 30 - } - ] - }, - { - "id": 483, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 11, - "character": 7 + "id": 490, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "default" + } } ], "type": { "type": "reference", - "id": 58, - "name": "Fetch" - } - }, - { - "id": 478, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 9, - "character": 9 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 479, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 480, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 481, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 9, - "character": 10 - } - ] - } - } - }, - { - "id": 482, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 10, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ + "id": 486, + "typeArguments": [ { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 484, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 12, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - }, - { - "id": 477, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 8, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 497, - "name": "auth", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 498, - "name": "auth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Authenticates the request with JWT." - }, - "parameters": [ - { - "id": 499, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The JWT token to use.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 47, - "character": 6 - } - ] - }, - { - "id": 500, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 501, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "id": 502, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 503, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The table name to operate on.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { "type": "reference", - "id": 338, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T", - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "PostgrestQueryBuilder" + "id": 489, + "name": "Result" } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 57, - "character": 6 - } - ] - }, + ], + "name": "default" + } + } + ] + }, + { + "id": 503, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ { - "id": 504, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 495, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 498, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "signatures": [ { - "id": 505, - "name": "rpc", + "id": 500, + "name": "__type", "kind": 4096, "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 506, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], + "flags": {}, "parameters": [ { - "id": 507, - "name": "fn", + "id": 501, + "name": "input", "kind": 32768, "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The function name to call." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 508, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "text": "The parameters to pass to the function call." - }, + "flags": {}, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "undefined" + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" }, { - "type": "intrinsic", - "name": "object" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } ] } }, { - "id": 509, - "name": "__namedParameters", + "id": 502, + "name": "init", "kind": 32768, "kindString": "Parameter", "flags": { - "isExported": true + "isOptional": true }, - "originalName": "__2", "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": 493, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 491, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "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": 494, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 496, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 497, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 492, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 506, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 507, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 508, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 509, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 510, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reflection", "declaration": { - "id": 510, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ + "flags": {}, + "signatures": [ { "id": 512, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "fileName": "PostgrestClient.ts", - "line": 80, - "character": 11 + "id": 513, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } } ], "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "null" + "type": "reference", + "id": 382, + "name": "TResult1" }, { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" } ] - }, - "defaultValue": "null" - }, - { - "id": 511, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "When set to true, no data will be returned." - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 79, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [512, 511] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 77, - "character": 20 + } } ] } - }, - "defaultValue": "{}" - } - ], + } + ] + } + }, + { + "id": 514, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "id": 137, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "typeParameter", - "name": "T", - "default": { - "type": "intrinsic", - "name": "any" + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 515, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 516, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 517, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] } } - ], - "name": "PostgrestFilterBuilder" + ] } } ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 75, - "character": 5 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [485] - }, - { - "title": "Properties", - "kind": 1024, - "children": [483, 478, 482, 484, 477] - }, - { - "title": "Methods", - "kind": 2048, - "children": [497, 500, 504] + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } } ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 504, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, "sources": [ { - "fileName": "PostgrestClient.ts", - "line": 7, - "character": 36 + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 505, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "default" + } } ] } ], "groups": [ { - "title": "Classes", - "kind": 128, - "children": [476] + "title": "Constructors", + "kind": 512, + "children": [487] + }, + { + "title": "Properties", + "kind": 1024, + "children": [503, 495, 498, 493, 491, 494, 496, 497, 492] + }, + { + "title": "Methods", + "kind": 2048, + "children": [506, 504] } ], "sources": [ { - "fileName": "PostgrestClient.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestBuilder.ts", + "line": 5, + "character": 30 } - ] - }, - { - "id": 513, - "name": "\"index\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/index.ts", - "sources": [ + ], + "typeParameter": [ { - "fileName": "index.ts", - "line": 1, - "character": 0 + "id": 518, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} } - ] - }, - { - "id": 136, - "name": "\"lib/PostgrestFilterBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", - "children": [ + ], + "extendedBy": [ { - "id": 137, - "name": "PostgrestFilterBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ + "type": "reference", + "id": 394, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ { - "id": 138, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 489, + "name": "Result" + } + ], + "name": "PostgrestResponse" } ], - "children": [ + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 1, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ { - "id": 318, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 319, - "name": "new PostgrestFilterBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 320, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 137, - "name": "PostgrestFilterBuilder" - }, - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, + "fileName": "src/PostgrestClient.ts", + "line": 41, + "character": 2 + } + ], + "signatures": [ { - "id": 224, - "name": "adj", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, + "id": 3, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeAdjacent()` instead." - } - ] + "shortText": "Creates a PostgREST client." }, - "sources": [ + "typeParameter": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 328, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 220, - "name": "rangeAdjacent" - }, - "defaultValue": "this.rangeAdjacent" - }, - { - "id": 314, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 199, - "name": "cd", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `containedBy()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 253, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 195, - "name": "containedBy" - }, - "defaultValue": "this.containedBy" - }, - { - "id": 194, - "name": "cs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `contains()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 229, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 190, - "name": "contains" - }, - "defaultValue": "this.contains" - }, - { - "id": 317, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 309, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 310, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 311, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 312, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 307, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 214, - "name": "nxl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeGte()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 298, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 210, - "name": "rangeGte" - }, - "defaultValue": "this.rangeGte" - }, - { - "id": 219, - "name": "nxr", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeLte()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 313, - "character": 5 - } - ], - "type": { - "type": "reference", - "id": 215, - "name": "rangeLte" - }, - "defaultValue": "this.rangeLte" - }, - { - "id": 229, - "name": "ov", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `overlaps()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 349, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 225, - "name": "overlaps" - }, - "defaultValue": "this.overlaps" - }, - { - "id": 313, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { "type": "intrinsic", - "name": "undefined" - }, - { + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { "type": "intrinsic", "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 315, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 316, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 204, - "name": "sl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeLt()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 268, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 200, - "name": "rangeLt" - }, - "defaultValue": "this.rangeLt" - }, - { - "id": 209, - "name": "sr", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `rangeGt()` instead." - } - ] - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 283, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 205, - "name": "rangeGt" - }, - "defaultValue": "this.rangeGt" - }, - { - "id": 308, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 298, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 299, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true }, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 300, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { "type": "reference", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 98, - "name": "PostgrestTransformBuilder.abortSignal" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 91, - "character": 13 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 98, - "name": "PostgrestTransformBuilder.abortSignal" - } - }, - { - "id": 195, - "name": "containedBy", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 196, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." - }, - "parameters": [ - { - "id": 197, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + "id": 4, + "name": "Database" } }, - { - "id": 198, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 238, - "character": 13 - } - ] - }, - { - "id": 190, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." - }, - "parameters": [ - { - "id": 192, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } + "trueType": { + "type": "literal", + "value": "public" }, - { - "id": 193, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 213, - "character": 10 - } - ] - }, - { - "id": 305, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 306, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 105, - "name": "PostgrestTransformBuilder.csv" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 134, - "character": 5 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 105, - "name": "PostgrestTransformBuilder.csv" - } - }, - { - "id": 150, - "name": "eq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 151, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`." - }, - "parameters": [ - { - "id": 152, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 153, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "typeOperator", "operator": "keyof", "target": { - "type": "typeParameter", - "name": "T" + "type": "reference", + "id": 4, + "name": "Database" } - }, - "objectType": { - "type": "typeParameter", - "name": "T" } - } + ] } - ], - "type": { - "type": "intrinsic", - "name": "this" } - } - ], - "sources": [ + }, { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 85, - "character": 4 - } - ] - }, - { - "id": 266, - "name": "filter", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 267, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" }, - "comment": { - "shortText": "Finds all rows whose `column` satisfies the filter." - }, - "parameters": [ - { - "id": 268, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 269, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { "type": "reference", - "id": 336, - "name": "FilterOperator" + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" } }, - { - "id": 270, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "objectType": { "type": "intrinsic", "name": "any" } + }, + "falseType": { + "type": "intrinsic", + "name": "any" } - ], - "type": { - "type": "intrinsic", - "name": "this" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 452, - "character": 8 - } - ] - }, - { - "id": 238, - "name": "fts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 239, - "name": "fts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, + "id": 7, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` instead.\n" - } - ] + "shortText": "URL of the PostgREST endpoint" }, - "parameters": [ - { - "id": 240, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 241, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 242, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 243, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "children": [ - { - "id": 244, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 46 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [244] - } - ], "sources": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 37 + "fileName": "src/PostgrestClient.ts", + "line": 50, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 16, + "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" + } + } + ] } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 391, - "character": 5 - } - ] - }, - { - "id": 158, - "name": "gt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 159, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`." - }, - "parameters": [ - { - "id": 160, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 161, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" } }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 109, - "character": 4 - } - ] - }, - { - "id": 162, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 163, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`." - }, - "parameters": [ - { - "id": 164, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 165, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 121, - "character": 5 - } - ] - }, - { - "id": 178, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 179, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)." - }, - "parameters": [ - { - "id": 180, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 181, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The pattern to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 169, - "character": 7 - } - ] - }, - { - "id": 186, - "name": "in", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 187, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`." - }, - "parameters": [ - { - "id": 188, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 189, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to filter with.\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + { + "id": 10, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - "objectType": { - "type": "typeParameter", - "name": "T" + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 48, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 11, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 49, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" } } - } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [12, 10, 11] + } + ] } - ], - "type": { - "type": "intrinsic", - "name": "this" - } + }, + "defaultValue": "{}" } ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 193, - "character": 4 - } - ] - }, + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 20, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ { - "id": 182, - "name": "is", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, + "fileName": "src/PostgrestClient.ts", + "line": 29, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "signatures": [ { - "id": 183, - "name": "is", + "id": 22, + "name": "__type", "kind": 4096, "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`." - }, + "flags": {}, "parameters": [ { - "id": 184, - "name": "column", + "id": 23, + "name": "input", "kind": 32768, "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 185, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, + "flags": {}, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" }, { - "type": "intrinsic", - "name": "null" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } ] } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 181, - "character": 4 - } - ] - }, - { - "id": 174, - "name": "like", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 175, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)." - }, - "parameters": [ - { - "id": 176, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } }, { - "id": 177, - "name": "pattern", + "id": 24, + "name": "init", "kind": 32768, "kindString": "Parameter", "flags": { - "isExported": true - }, - "comment": { - "text": "The pattern to filter with.\n" + "isOptional": true }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" } } ], "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 157, - "character": 6 - } - ] - }, - { - "id": 285, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 286, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 287, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 288, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 290, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [290] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 22 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { "type": "reference", - "id": 85, - "name": "PostgrestTransformBuilder.limit" + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 18, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 19, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 17, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 64, + "character": 2 + } + ], + "signatures": [ + { + "id": 26, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a query on a table or a view." + }, + "typeParameter": [ + { + "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" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 7 + "id": 29, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table or view name to query\n" + }, + "type": { + "type": "reference", + "id": 27, + "name": "TableName" + } } ], - "inheritedFrom": { + "type": { "type": "reference", - "id": 85, - "name": "PostgrestTransformBuilder.limit" + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 28, + "name": "Table" + } + ], + "name": "default" } }, { - "id": 166, - "name": "lt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ + "id": 30, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ { - "id": 167, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`." - }, - "parameters": [ - { - "id": 168, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 169, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], + "id": 31, + "name": "ViewName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "type": { "type": "intrinsic", - "name": "this" + "name": "string" + } + }, + { + "id": 32, + "name": "View", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericView" } } ], - "sources": [ + "parameters": [ { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 133, - "character": 4 - } - ] - }, - { - "id": 170, - "name": "lte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 171, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`." - }, - "parameters": [ - { - "id": 172, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 173, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ], + "id": 33, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "type": { - "type": "intrinsic", - "name": "this" + "type": "reference", + "id": 31, + "name": "ViewName" } } ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 145, - "character": 5 - } - ] + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 32, + "name": "View" + } + ], + "name": "default" + } }, { - "id": 271, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ + "id": 34, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "id": 272, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, + "id": 35, + "name": "relation", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 36, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 102, + "character": 2 + } + ], + "signatures": [ + { + "id": 37, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 38, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 39, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 40, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, "comment": { - "shortText": "Finds all rows whose columns match the specified `query` object." + "shortText": "The function name to call" }, - "parameters": [ - { - "id": 273, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true + "type": { + "type": "reference", + "id": 38, + "name": "FunctionName" + } + }, + { + "id": 41, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The arguments to pass to the function call" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 42, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 45, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "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`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 113, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 44, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 112, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [45, 44] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - "comment": { - "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n" + "objectType": { + "type": "reference", + "id": 39, + "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" + } + } }, - "type": { + "extendsType": { "type": "reference", "typeArguments": [ { @@ -2935,9309 +1641,9745 @@ "name": "unknown" } ], + "qualifiedName": "Record", + "package": "typescript", "name": "Record" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 463, - "character": 7 - } - ] - }, - { - "id": 303, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 304, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 69, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 103, - "name": "PostgrestTransformBuilder.maybeSingle" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 110, - "character": 13 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 103, - "name": "PostgrestTransformBuilder.maybeSingle" - } - }, - { - "id": 154, - "name": "neq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 155, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`." - }, - "parameters": [ - { - "id": 156, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 157, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "trueType": { "type": "indexedAccess", "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } + "type": "intrinsic", + "name": "any" }, "objectType": { - "type": "typeParameter", - "name": "T" + "type": "intrinsic", + "name": "any" } - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 97, - "character": 5 - } - ] - }, - { - "id": 139, - "name": "not", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 140, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows which doesn't satisfy the filter." - }, - "parameters": [ - { - "id": 141, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 142, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { - "type": "reference", - "id": 336, - "name": "FilterOperator" - } - }, - { - "id": 143, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { + "falseType": { "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 61, - "character": 5 - } - ] - }, - { - "id": 144, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 145, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows satisfying at least one of the filters." - }, - "parameters": [ - { - "id": 146, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The filters to use, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" + "name": "never" } }, - { - "id": 147, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 148, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 149, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 36 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [149] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 21 - } - ] - } - }, - "defaultValue": "{}" + "falseType": { + "type": "intrinsic", + "name": "never" } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 72, - "character": 4 - } - ] - }, - { - "id": 277, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 278, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true }, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "parameters": [ - { - "id": 279, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to order on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" }, - { - "id": 280, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 281, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 282, - "name": "ascending", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, the result will be in ascending order." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 43, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - }, - { - "id": 284, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 45, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 283, - "name": "nullsFirst", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, `null`s appear first." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [282, 284, 283] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 41, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" + "objectType": { + "type": "reference", + "id": 39, + "name": "Function_" } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 77, - "name": "PostgrestTransformBuilder.order" } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 40, - "character": 7 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 77, - "name": "PostgrestTransformBuilder.order" + ], + "name": "default" } - }, - { - "id": 225, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`." - }, - "parameters": [ - { - "id": 227, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 228, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - }, - "objectType": { - "type": "typeParameter", - "name": "T" - } - } - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 337, - "character": 10 - } - ] - }, - { - "id": 252, - "name": "phfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 253, - "name": "phfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'phrase'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 254, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 255, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 256, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 257, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 258, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [258] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 39 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 423, - "character": 7 - } - ] - }, - { - "id": 245, - "name": "plfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 246, - "name": "plfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'plain'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 247, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 248, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 249, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 250, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 251, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [251] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 39 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 407, - "character": 7 - } - ] - }, - { - "id": 291, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 292, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 293, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 294, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 295, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 296, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 297, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [297] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 33 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.range" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 7 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.range" - } - }, - { - "id": 220, - "name": "rangeAdjacent", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 221, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`." - }, - "parameters": [ - { - "id": 222, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 223, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 322, - "character": 15 - } - ] - }, - { - "id": 205, - "name": "rangeGt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 206, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." - }, - "parameters": [ - { - "id": 207, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 208, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 277, - "character": 9 - } - ] - }, - { - "id": 210, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 211, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." - }, - "parameters": [ - { - "id": 212, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 213, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 292, - "character": 10 - } - ] - }, - { - "id": 200, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 201, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." - }, - "parameters": [ - { - "id": 202, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 203, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 262, - "character": 9 - } - ] - }, - { - "id": 215, - "name": "rangeLte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 216, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." - }, - "parameters": [ - { - "id": 217, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 218, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 307, - "character": 10 - } - ] - }, - { - "id": 274, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 275, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 276, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 74, - "name": "PostgrestTransformBuilder.select" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 13, - "character": 8 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 74, - "name": "PostgrestTransformBuilder.select" - } - }, - { - "id": 301, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 302, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 101, - "name": "PostgrestTransformBuilder.single" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 8 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 101, - "name": "PostgrestTransformBuilder.single" - } - }, - { - "id": 230, - "name": "textSearch", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 231, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`." - }, - "parameters": [ - { - "id": 232, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 233, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 234, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 235, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 236, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use." - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 364, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 237, - "name": "type", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The type of tsquery conversion to use on `query`.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 365, - "character": 10 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "plain" - }, - { - "type": "stringLiteral", - "value": "phrase" - }, - { - "type": "stringLiteral", - "value": "websearch" - } - ] - }, - "defaultValue": "null" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [236, 237] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 362, - "character": 18 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 360, - "character": 12 - } - ] - }, - { - "id": 324, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 325, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 326, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 327, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 328, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 330, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 331, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 332, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 333, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 334, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 335, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 321, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 322, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 323, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - }, - { - "id": 259, - "name": "wfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 260, - "name": "wfts", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`).", - "tags": [ - { - "tag": "deprecated", - "text": "Use `textSearch()` with `type: 'websearch'` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 261, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 262, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 263, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 265, - "name": "config", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The text search configuration to use.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 47 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [265] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 38 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 439, - "character": 6 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [318] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 224, 314, 199, 194, 317, 309, 307, 214, 219, 229, 313, 315, 316, 204, 209, 308 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 298, 195, 190, 305, 150, 266, 238, 158, 162, 178, 186, 182, 174, 285, 166, 170, 271, - 303, 154, 139, 144, 277, 225, 252, 245, 291, 220, 205, 210, 200, 215, 274, 301, 230, - 324, 321, 259 - ] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 53, - "character": 43 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 72, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" } ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [2] }, { - "id": 336, - "name": "FilterOperator", - "kind": 4194304, - "kindString": "Type alias", + "title": "Properties", + "kind": 1024, + "children": [20, 18, 19, 17] + }, + { + "title": "Methods", + "kind": 2048, + "children": [25, 36] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 17, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 46, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", "flags": {}, "comment": { - "shortText": "Filters" + "shortText": "Types for the schema from the [type\ngenerator](https://supabase.com/docs/reference/javascript/next/typescript-support)\n" }, - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 7, - "character": 19 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "eq" - }, - { - "type": "stringLiteral", - "value": "neq" - }, - { - "type": "stringLiteral", - "value": "gt" - }, - { - "type": "stringLiteral", - "value": "gte" - }, - { - "type": "stringLiteral", - "value": "lt" - }, - { - "type": "stringLiteral", - "value": "lte" - }, - { - "type": "stringLiteral", - "value": "like" - }, - { - "type": "stringLiteral", - "value": "ilike" - }, - { - "type": "stringLiteral", - "value": "is" - }, - { - "type": "stringLiteral", - "value": "in" - }, - { - "type": "stringLiteral", - "value": "cs" - }, - { - "type": "stringLiteral", - "value": "cd" - }, - { - "type": "stringLiteral", - "value": "sl" - }, - { - "type": "stringLiteral", - "value": "sr" - }, - { - "type": "stringLiteral", - "value": "nxl" - }, - { - "type": "stringLiteral", - "value": "nxr" - }, - { - "type": "stringLiteral", - "value": "adj" - }, - { - "type": "stringLiteral", - "value": "ov" - }, - { - "type": "stringLiteral", - "value": "fts" - }, - { - "type": "stringLiteral", - "value": "plfts" - }, - { - "type": "stringLiteral", - "value": "phfts" - }, - { - "type": "stringLiteral", - "value": "wfts" - }, - { - "type": "stringLiteral", - "value": "not.eq" - }, - { - "type": "stringLiteral", - "value": "not.neq" - }, - { - "type": "stringLiteral", - "value": "not.gt" - }, - { - "type": "stringLiteral", - "value": "not.gte" - }, - { - "type": "stringLiteral", - "value": "not.lt" - }, - { - "type": "stringLiteral", - "value": "not.lte" - }, - { - "type": "stringLiteral", - "value": "not.like" - }, - { - "type": "stringLiteral", - "value": "not.ilike" - }, - { - "type": "stringLiteral", - "value": "not.is" - }, - { - "type": "stringLiteral", - "value": "not.in" - }, - { - "type": "stringLiteral", - "value": "not.cs" - }, - { - "type": "stringLiteral", - "value": "not.cd" - }, - { - "type": "stringLiteral", - "value": "not.sl" - }, - { - "type": "stringLiteral", - "value": "not.sr" - }, - { - "type": "stringLiteral", - "value": "not.nxl" - }, - { - "type": "stringLiteral", - "value": "not.nxr" - }, - { - "type": "stringLiteral", - "value": "not.adj" - }, - { - "type": "stringLiteral", - "value": "not.ov" - }, - { - "type": "stringLiteral", - "value": "not.fts" - }, - { - "type": "stringLiteral", - "value": "not.plfts" - }, - { - "type": "stringLiteral", - "value": "not.phfts" - }, - { - "type": "stringLiteral", - "value": "not.wfts" - } - ] + "default": { + "type": "intrinsic", + "name": "any" } - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [137] }, { - "title": "Type aliases", - "kind": 4194304, - "children": [336] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 337, - "name": "\"lib/PostgrestQueryBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", - "children": [ - { - "id": 338, - "name": "PostgrestQueryBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 339, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 340, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 341, - "name": "new PostgrestQueryBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 342, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 343, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 350, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 10, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 345, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 8, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 346, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 347, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 348, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 349, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 351, - "name": "shouldThrowOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [350, 345, 349, 351] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 338, - "name": "PostgrestQueryBuilder" - }, - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 4, - "character": 75 - } - ], - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 403, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 406, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 398, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 399, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 400, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 401, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 396, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 402, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 404, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 405, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 397, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 390, - "name": "delete", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 391, - "name": "delete", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs a DELETE on the table." - }, - "parameters": [ - { - "id": 392, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 395, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 214, - "character": 9 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 394, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, return the deleted row(s) in the response." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 213, - "character": 13 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [395, 394] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 212, - "character": 9 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 212, - "character": 8 - } - ] - }, - { - "id": 359, - "name": "insert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 360, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an INSERT into the table." - }, - "parameters": [ - { - "id": 361, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to insert." - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 362, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 365, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 78, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - } - }, - { - "id": 364, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 77, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [365, 364] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - }, - { - "id": 366, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `upsert()` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 367, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 368, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 373, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 90, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - } - }, - { - "id": 371, - "name": "onConflict", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 88, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 372, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 89, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - } - }, - { - "id": 370, - "name": "upsert", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 87, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [373, 371, 372, 370] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 74, - "character": 8 - }, - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 84, - "character": 8 - }, - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 93, - "character": 8 - } - ] - }, - { - "id": 352, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 353, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 354, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - }, - { - "id": 355, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 358, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 36, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 357, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "When set to true, select will void data." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 35, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [358, 357] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 33, - "character": 18 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 32, - "character": 8 - } - ] - }, - { - "id": 410, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 411, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 412, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 413, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 414, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 415, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 416, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 417, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 418, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 419, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 420, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 421, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 407, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 408, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 409, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - }, - { - "id": 383, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 384, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPDATE on the table." - }, - "parameters": [ - { - "id": 385, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to update." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - }, - { - "id": 386, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 389, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 187, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 388, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 186, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [389, 388] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 184, - "character": 23 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 183, - "character": 8 - } - ] - }, - { - "id": 374, - "name": "upsert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 375, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPSERT into the table." - }, - "parameters": [ - { - "id": 376, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The values to insert." - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 377, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 381, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 147, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 382, - "name": "ignoreDuplicates", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "Specifies if duplicate rows should be ignored and not inserted.\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 148, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 379, - "name": "onConflict", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 145, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 380, - "name": "returning", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "By default the new record is returned. Set this to 'minimal' if you don't need this value." - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 146, - "character": 15 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "minimal" - }, - { - "type": "stringLiteral", - "value": "representation" - } - ] - }, - "defaultValue": "\"representation\"" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [381, 382, 379, 380] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 143, - "character": 38 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 142, - "character": 8 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [340] - }, - { - "title": "Properties", - "kind": 1024, - "children": [403, 406, 398, 396, 402, 404, 405, 397] - }, - { - "title": "Methods", - "kind": 2048, - "children": [390, 359, 352, 410, 407, 383, 374] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 4, - "character": 42 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [338] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 422, - "name": "\"lib/PostgrestRpcBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", - "children": [ - { - "id": 423, - "name": "PostgrestRpcBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 424, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 425, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 426, - "name": "new PostgrestRpcBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 427, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 428, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 429, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 435, - "name": "fetch", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 10, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "id": 350, - "name": "fetch" - } - ] - } - }, - { - "id": 430, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 8, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 431, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 432, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 433, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 434, - "name": "schema", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 436, - "name": "shouldThrowOnError", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [435, 430, 434, 436] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 423, - "name": "PostgrestRpcBuilder" - }, - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 4, - "character": 73 - } - ], - "overwrites": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 451, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 454, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 446, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 447, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 448, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 449, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 444, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 450, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 452, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 453, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 445, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 437, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 438, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a function call." - }, - "parameters": [ - { - "id": 439, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - }, - { - "id": 440, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 441, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 443, - "name": "count", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 32, - "character": 11 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "null" - }, - { - "type": "stringLiteral", - "value": "exact" - }, - { - "type": "stringLiteral", - "value": "planned" - }, - { - "type": "stringLiteral", - "value": "estimated" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 442, - "name": "head", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 31, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [443, 442] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 29, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 137, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 28, - "character": 5 - } - ] - }, - { - "id": 458, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 459, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 460, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 461, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 462, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 463, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 464, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 465, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 466, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 467, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 468, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 469, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 455, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 456, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 457, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [425] - }, - { - "title": "Properties", - "kind": 1024, - "children": [451, 454, 446, 444, 450, 452, 453, 445] - }, - { - "title": "Methods", - "kind": 2048, - "children": [437, 458, 455] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 4, - "character": 40 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [423] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 71, - "name": "\"lib/PostgrestTransformBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts", - "children": [ - { - "id": 72, - "name": "PostgrestTransformBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, + "id": 47, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "comment": { - "shortText": "Post-filters (transforms)" + "shortText": "Postgres schema to switch to. Must be a string\nliteral, the same one passed to the constructor. If the schema is not\n`\"public\"`, this must be supplied manually.\n" }, - "typeParameter": [ - { - "id": 73, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 118, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 119, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 120, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 72, - "name": "PostgrestTransformBuilder" - }, - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 40, - "name": "PostgrestBuilder.__constructor" - } - }, - { - "id": 114, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 36, - "name": "PostgrestBuilder.body" - } - }, - { - "id": 117, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - }, - "inheritedFrom": { - "type": "reference", - "id": 39, - "name": "PostgrestBuilder.fetch" - } - }, - { - "id": 109, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 111, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 112, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 31, - "name": "PostgrestBuilder.headers" - } - }, - { - "id": 107, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 29, - "name": "PostgrestBuilder.method" - } - }, - { - "id": 113, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "PostgrestBuilder.schema" - } - }, - { - "id": 115, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 37, - "name": "PostgrestBuilder.shouldThrowOnError" - } - }, - { - "id": 116, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 38, - "name": "PostgrestBuilder.signal" - } - }, - { - "id": 108, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 30, - "name": "PostgrestBuilder.url" - } - }, - { - "id": 98, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 99, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 100, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 91, - "character": 13 - } - ] - }, - { - "id": 105, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 106, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 134, - "character": 5 - } - ] - }, - { - "id": 85, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 86, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 87, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 88, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 90, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 37 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [90] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 22 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 66, - "character": 7 - } - ] - }, - { - "id": 103, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 104, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 69, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 110, - "character": 13 - } - ] - }, - { - "id": 77, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 78, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "parameters": [ - { - "id": 79, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to order on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 80, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 82, - "name": "ascending", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, the result will be in ascending order." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 43, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - }, - { - "id": 84, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (if `column` is a foreign column).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 45, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 83, - "name": "nullsFirst", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "If `true`, `null`s appear first." - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 44, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [82, 84, 83] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 41, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 40, - "character": 7 - } - ] - }, - { - "id": 91, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 92, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 93, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 94, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 95, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 96, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 97, - "name": "foreignTable", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "comment": { - "text": "The foreign table to use (for foreign columns).\n" - }, - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 48 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [97] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 33 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 79, - "character": 7 - } - ] - }, - { - "id": 74, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 75, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 76, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "\"*\"" - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 13, - "character": 8 - } - ] - }, - { - "id": 101, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 102, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 67, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 8 - } - ] - }, - { - "id": 124, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 125, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 126, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 127, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 128, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 130, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 131, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 132, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 133, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 134, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 135, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 46, - "name": "PostgrestBuilder.then" - } - }, - { - "id": 121, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 122, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 123, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "PostgrestBuilder.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [118] - }, - { - "title": "Properties", - "kind": 1024, - "children": [114, 117, 109, 107, 113, 115, 116, 108] - }, - { - "title": "Methods", - "kind": 2048, - "children": [98, 105, 85, 103, 77, 91, 74, 101, 124, 121] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 7, - "character": 46 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 137, - "name": "PostgrestFilterBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [72] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 472, - "name": "\"lib/constants\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts", - "children": [ - { - "id": 473, - "name": "DEFAULT_HEADERS", - "kind": 2097152, - "kindString": "Object literal", - "flags": { - "isExported": true, - "isConst": true - }, - "children": [ - { - "id": 474, - "name": "X-Client-Info", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 2, - "character": 48 - } - ], - "type": { + "type": { + "type": "intersection", + "types": [ + { "type": "intrinsic", "name": "string" }, - "defaultValue": "`postgrest-js/${version}`" + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + }, + "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" + } + } + ] } - ], - "groups": [ + } + }, + { + "id": 48, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "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", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 110, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 111, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ { - "title": "Variables", - "kind": 32, - "children": [474] + "id": 112, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 113, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 114, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 115, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 396, + "name": "default.constructor" + } } ], + "inheritedFrom": { + "type": "reference", + "id": 395, + "name": "default.constructor" + } + }, + { + "id": 377, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { - "fileName": "lib/constants.ts", - "line": 2, - "character": 28 + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 } ], "type": { "type": "intrinsic", - "name": "object" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 469, + "name": "default.allowEmpty" } - } - ], - "groups": [ + }, { - "title": "Object literals", - "kind": 2097152, - "children": [473] - } - ], - "sources": [ - { - "fileName": "lib/constants.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 1, - "name": "\"lib/types\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts", - "children": [ - { - "id": 27, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", + "id": 369, + "name": "body", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true, - "isAbstract": true - }, - "typeParameter": [ - { - "id": 28, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 40, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 41, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 42, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 27, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestBuilder" - } - } - ], - "type": { - "type": "reference", - "id": 27, - "name": "PostgrestBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 24 - } - ] - }, - { - "id": 36, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 58, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "Partial" - } - } - ] - } - }, - { - "id": 39, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 61, - "character": 17 - } - ], - "type": { - "type": "reference", - "id": 58, - "name": "Fetch" - } - }, - { - "id": 31, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 19 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 33, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 34, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 56, - "character": 21 - } - ] - } - } - }, - { - "id": 29, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 54, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "stringLiteral", - "value": "GET" - }, - { - "type": "stringLiteral", - "value": "HEAD" - }, - { - "type": "stringLiteral", - "value": "POST" - }, - { - "type": "stringLiteral", - "value": "PATCH" - }, - { - "type": "stringLiteral", - "value": "DELETE" - } - ] - } - }, - { - "id": 35, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 57, - "character": 18 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 37, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 59, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 38, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 60, - "character": 18 - } - ], - "type": { - "type": "reference", - "name": "AbortSignal" - } - }, - { - "id": 30, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 55, - "character": 15 - } - ], - "type": { - "type": "reference", - "name": "URL" - } - }, - { - "id": 46, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 47, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 48, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 49, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 50, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 52, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 53, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 93, - "character": 9 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 54, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 55, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 56, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 57, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "name": "PromiseLike" - } - ] - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 96, - "character": 18 - } - ] - } - }, - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "TResult1", - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - }, - { - "type": "typeParameter", - "name": "TResult2", - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - } - ], - "name": "PromiseLike" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 91, - "character": 6 - } - ] - }, - { - "id": 43, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 44, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "parameters": [ - { - "id": 45, - "name": "throwOnError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "false" - }, - { - "type": "intrinsic", - "name": "true" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 83, - "character": 14 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [40] - }, - { - "title": "Properties", - "kind": 1024, - "children": [36, 39, 31, 29, 35, 37, 38, 30] - }, - { - "title": "Methods", - "kind": 2048, - "children": [46, 43] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 53, - "character": 38 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 72, - "name": "PostgrestTransformBuilder" - }, - { - "type": "reference", - "id": 338, - "name": "PostgrestQueryBuilder" - }, - { - "type": "reference", - "id": 423, - "name": "PostgrestRpcBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 65, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponse" - } - ], - "name": "PromiseLike" - } - ] - }, - { - "id": 2, - "name": "PostgrestResponseBase", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "comment": { - "shortText": "Response format", - "text": "{@link https://github.com/supabase/supabase-js/issues/32}\n" - }, - "children": [ - { - "id": 3, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 4, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [3, 4] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 22, - "character": 31 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 5, - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" - }, - { - "type": "reference", - "id": 20, - "name": "PostgrestSingleResponseSuccess" - } - ] - }, - { - "id": 13, - "name": "PostgrestResponseFailure", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 16, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 37, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 17, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 38, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 15, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 35, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 14, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 34, - "character": 7 - } - ], - "type": { - "type": "reference", - "id": 59, - "name": "PostgrestError" - } - }, - { - "id": 18, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 19, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [16, 17, 15, 14, 18, 19] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 33, - "character": 34 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 5, - "name": "PostgrestResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "typeParameter": [ - { - "id": 6, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "children": [ - { - "id": 9, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 30, - "character": 6 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 10, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 31, - "character": 7 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "null" - } - ] - } - }, - { - "id": 8, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 29, - "character": 6 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 7, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 28, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 11, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 12, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [9, 10, 8, 7, 11, 12] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 27, - "character": 34 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 20, - "name": "PostgrestSingleResponseSuccess", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "typeParameter": [ - { - "id": 21, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "children": [ - { - "id": 24, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 46, - "character": 6 - } - ], - "type": { - "type": "typeParameter", - "name": "T" - } - }, - { - "id": 23, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 44, - "character": 6 - } - ], - "type": { - "type": "typeParameter", - "name": "T" - } - }, - { - "id": 22, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 43, - "character": 7 - } - ], - "type": { - "type": "intrinsic", - "name": "null" - } - }, - { - "id": 25, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 3, - "name": "PostgrestResponseBase.status" - } - }, - { - "id": 26, - "name": "statusText", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 4, - "name": "PostgrestResponseBase.statusText" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [24, 23, 22, 25, 26] - } - ], - "sources": [ - { - "fileName": "lib/types.ts", - "line": 42, - "character": 40 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 2, - "name": "PostgrestResponseBase" - } - ] - }, - { - "id": 58, - "name": "Fetch", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExported": true + "isProtected": true, + "isOptional": true }, "sources": [ { - "fileName": "lib/types.ts", - "line": 3, - "character": 17 + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 } ], "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 350, - "name": "fetch" - } + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 461, + "name": "default.body" } }, { - "id": 59, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", + "id": 372, + "name": "fetch", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true - }, - "comment": { - "shortText": "Error format", - "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + "isProtected": true }, "sources": [ { - "fileName": "lib/types.ts", - "line": 10, - "character": 26 + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 60, + "id": 373, "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": { - "isExported": true + "flags": {}, + "signatures": [ + { + "id": 374, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 375, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 376, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 464, + "name": "default.fetch" + } + }, + { + "id": 367, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "children": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 459, + "name": "default.headers" + } + }, + { + "id": 365, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 457, + "name": "default.method" + } + }, + { + "id": 368, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 460, + "name": "default.schema" + } + }, + { + "id": 370, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 462, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 371, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 463, + "name": "default.signal" + } + }, + { + "id": 366, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 458, + "name": "default.url" + } + }, + { + "id": 342, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 124, + "character": 2 + } + ], + "signatures": [ + { + "id": 343, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ { - "id": 64, - "name": "code", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true + "id": 344, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 14, - "character": 6 - } - ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" } - }, - { - "id": 62, - "name": "details", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 12, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "reference", + "id": 114, + "name": "Result" } - }, + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 435, + "name": "default.abortSignal" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 434, + "name": "default.abortSignal" + } + }, + { + "id": 204, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 214, + "character": 2 + } + ], + "signatures": [ + { + "id": 205, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\nevery element appearing in `column` is contained by `value`." + }, + "typeParameter": [ { - "id": 63, - "name": "hint", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 13, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 61, - "name": "message", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/types.ts", - "line": 11, - "character": 9 - } - ], + "id": 206, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], - "groups": [ + "parameters": [ { - "title": "Variables", - "kind": 32, - "children": [64, 62, 63, 61] + "id": 207, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 206, + "name": "ColumnName" + } + }, + { + "id": 208, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 206, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } } ], - "sources": [ + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 209, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ { - "fileName": "lib/types.ts", - "line": 10, - "character": 28 + "id": 210, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 211, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 196, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 187, + "character": 2 + } + ], + "signatures": [ + { + "id": 197, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for jsonb, array, and range columns. Match only rows where\n`column` contains every element appearing in `value`." + }, + "typeParameter": [ + { + "id": 198, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 199, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range column to filter on" + }, + "type": { + "type": "reference", + "id": 198, + "name": "ColumnName" + } + }, + { + "id": 200, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The jsonb, array, or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 198, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 201, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 202, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 349, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 155, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 442, + "name": "default.csv" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 441, + "name": "default.csv" + } + }, + { + "id": 116, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 39, + "character": 2 + } + ], + "signatures": [ + { + "id": 117, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is equal to `value`.", + "text": "To check if the value of `column` is NULL, you should use `.is()` instead.\n" + }, + "typeParameter": [ + { + "id": 118, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 119, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 118, + "name": "ColumnName" + } + }, + { + "id": 120, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 118, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 121, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 122, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 123, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 353, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 354, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 355, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 357, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 197, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 360, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 362, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 202, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 359, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 199, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 358, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 361, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [357, 360, 362, 359, 358, 361] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 446, + "name": "default.explain" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 445, + "name": "default.explain" + } + }, + { + "id": 298, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 439, + "character": 2 + } + ], + "signatures": [ + { + "id": 299, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy the filter. This is an escape hatch - you\nshould use the specific filter methods wherever possible.", + "text": "Unlike most filters, `opearator` and `value` 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.\n" + }, + "typeParameter": [ + { + "id": 300, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 301, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 300, + "name": "ColumnName" + } + }, + { + "id": 302, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with, following PostgREST syntax" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "FilterOperator" + }, + { + "type": "literal", + "value": "not.eq" + }, + { + "type": "literal", + "value": "not.neq" + }, + { + "type": "literal", + "value": "not.gt" + }, + { + "type": "literal", + "value": "not.gte" + }, + { + "type": "literal", + "value": "not.lt" + }, + { + "type": "literal", + "value": "not.lte" + }, + { + "type": "literal", + "value": "not.like" + }, + { + "type": "literal", + "value": "not.ilike" + }, + { + "type": "literal", + "value": "not.is" + }, + { + "type": "literal", + "value": "not.in" + }, + { + "type": "literal", + "value": "not.cs" + }, + { + "type": "literal", + "value": "not.cd" + }, + { + "type": "literal", + "value": "not.sl" + }, + { + "type": "literal", + "value": "not.sr" + }, + { + "type": "literal", + "value": "not.nxl" + }, + { + "type": "literal", + "value": "not.nxr" + }, + { + "type": "literal", + "value": "not.adj" + }, + { + "type": "literal", + "value": "not.ov" + }, + { + "type": "literal", + "value": "not.fts" + }, + { + "type": "literal", + "value": "not.plfts" + }, + { + "type": "literal", + "value": "not.phfts" + }, + { + "type": "literal", + "value": "not.wfts" + } + ] + } + }, + { + "id": 303, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 304, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 305, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 306, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 307, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 351, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 163, + "character": 2 + } + ], + "signatures": [ + { + "id": 352, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 444, + "name": "default.geojson" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 443, + "name": "default.geojson" + } + }, + { + "id": 132, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 65, + "character": 2 + } + ], + "signatures": [ + { + "id": 133, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than `value`." + }, + "typeParameter": [ + { + "id": 134, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 135, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 134, + "name": "ColumnName" + } + }, + { + "id": 136, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 134, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 137, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 138, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 139, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 140, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 141, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is greater than or equal to `value`." + }, + "typeParameter": [ + { + "id": 142, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 143, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 142, + "name": "ColumnName" + } + }, + { + "id": 144, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 142, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 145, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 146, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 172, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 173, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-insensitively." + }, + "typeParameter": [ + { + "id": 174, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 175, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 174, + "name": "ColumnName" + } + }, + { + "id": 176, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 177, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 178, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 179, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 188, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 165, + "character": 2 + } + ], + "signatures": [ + { + "id": 189, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is included in the `values` array." + }, + "typeParameter": [ + { + "id": 190, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 191, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 190, + "name": "ColumnName" + } + }, + { + "id": 192, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values array to filter with\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 190, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 193, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 194, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 195, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 180, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 149, + "character": 2 + } + ], + "signatures": [ + { + "id": 181, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` IS `value`.", + "text": "For non-boolean columns, this is only relevant for checking if the value of\n`column` is NULL by setting `value` to `null`.\n\nFor boolean columns, you can also set `value` to `true` or `false` and it\nwill behave the same way as `.eq()`.\n" + }, + "typeParameter": [ + { + "id": 182, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 183, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 182, + "name": "ColumnName" + } + }, + { + "id": 184, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": false + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 182, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + }, + { + "type": "literal", + "value": true + } + ] + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 185, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 186, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 187, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 164, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 117, + "character": 2 + } + ], + "signatures": [ + { + "id": 165, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` matches `pattern` case-sensitively." + }, + "typeParameter": [ + { + "id": 166, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 167, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 166, + "name": "ColumnName" + } + }, + { + "id": 168, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to match with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 169, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 170, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 171, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 329, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 330, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 331, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 332, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 334, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [334] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 422, + "name": "default.limit" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 421, + "name": "default.limit" + } + }, + { + "id": 148, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 91, + "character": 2 + } + ], + "signatures": [ + { + "id": 149, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than `value`." + }, + "typeParameter": [ + { + "id": 150, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 151, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 150, + "name": "ColumnName" + } + }, + { + "id": 152, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 150, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 153, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 154, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 155, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 156, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 104, + "character": 2 + } + ], + "signatures": [ + { + "id": 157, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is less than or equal to `value`." + }, + "typeParameter": [ + { + "id": 158, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 159, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 158, + "name": "ColumnName" + } + }, + { + "id": 160, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 158, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 161, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 162, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 163, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 276, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 2 + } + ], + "signatures": [ + { + "id": 277, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where each column in `query` keys is equal to its\nassociated value. Shorthand for multiple `.eq()`s." + }, + "typeParameter": [ + { + "id": 278, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 279, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\nto their filter values\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 278, + "name": "ColumnName" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 278, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 280, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 281, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 347, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 348, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 523, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 440, + "name": "default.maybeSingle" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 439, + "name": "default.maybeSingle" + } + }, + { + "id": 124, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 52, + "character": 2 + } + ], + "signatures": [ + { + "id": 125, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows where `column` is not equal to `value`." + }, + "typeParameter": [ + { + "id": 126, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 127, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 126, + "name": "ColumnName" + } + }, + { + "id": 128, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 126, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 129, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 130, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 131, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 282, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 396, + "character": 2 + } + ], + "signatures": [ + { + "id": 283, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` 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.\n" + }, + "typeParameter": [ + { + "id": 284, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 285, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 284, + "name": "ColumnName" + } + }, + { + "id": 286, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 287, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 284, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 288, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 289, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 290, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 292, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 420, + "character": 2 + } + ], + "signatures": [ + { + "id": 293, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 294, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 295, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Set this to filter on foreign tables instead of the\ncurrent table\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 296, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 297, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 420, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [297] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 313, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 314, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You 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.\n" + }, + "typeParameter": [ + { + "id": 315, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 316, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 315, + "name": "ColumnName" + } + }, + { + "id": 317, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 319, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 321, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 320, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [319, 321, 320] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 406, + "name": "default.order" + } + }, + { + "id": 322, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 323, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 324, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 325, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 326, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 328, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 327, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [326, 328, 327] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 414, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 405, + "name": "default.order" + } + }, + { + "id": 252, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 313, + "character": 2 + } + ], + "signatures": [ + { + "id": 253, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, + "typeParameter": [ + { + "id": 254, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 255, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range column to filter on" + }, + "type": { + "type": "reference", + "id": 254, + "name": "ColumnName" + } + }, + { + "id": 256, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The array or range value to filter with\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 254, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 113, + "name": "Row" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 257, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 258, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 259, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 335, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 336, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 337, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 338, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 339, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 341, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [341] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 428, + "name": "default.range" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 427, + "name": "default.range" + } + }, + { + "id": 244, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 299, + "character": 2 + } + ], + "signatures": [ + { + "id": 245, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where `column` is\nmutually exclusive to `range` and there can be no element between the two\nranges." + }, + "typeParameter": [ + { + "id": 246, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 247, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 246, + "name": "ColumnName" + } + }, + { + "id": 248, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 249, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 250, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 251, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 212, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 240, + "character": 2 + } + ], + "signatures": [ + { + "id": 213, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is greater than any element in `range`." + }, + "typeParameter": [ + { + "id": 214, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 215, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 214, + "name": "ColumnName" + } + }, + { + "id": 216, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 217, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 218, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 219, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 220, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 255, + "character": 2 + } + ], + "signatures": [ + { + "id": 221, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or greater than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 222, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 223, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 222, + "name": "ColumnName" + } + }, + { + "id": 224, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 225, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 226, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 227, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 228, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 269, + "character": 2 + } + ], + "signatures": [ + { + "id": 229, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is less than any element in `range`." + }, + "typeParameter": [ + { + "id": 230, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 231, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 230, + "name": "ColumnName" + } + }, + { + "id": 232, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 233, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 234, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 236, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 284, + "character": 2 + } + ], + "signatures": [ + { + "id": 237, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for range columns. Match only rows where every element in\n`column` is either contained in `range` or less than any element in\n`range`." + }, + "typeParameter": [ + { + "id": 238, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 239, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range column to filter on" + }, + "type": { + "type": "reference", + "id": 238, + "name": "ColumnName" + } + }, + { + "id": 240, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 241, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 242, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 363, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 229, + "character": 2 + } + ], + "signatures": [ + { + "id": 364, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 456, + "name": "default.rollback" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 455, + "name": "default.rollback" + } + }, + { + "id": 308, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 309, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 310, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 311, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 310, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 312, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 311, + "name": "NewResult" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 401, + "name": "default.select" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 400, + "name": "default.select" + } + }, + { + "id": 345, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 135, + "character": 2 + } + ], + "signatures": [ + { + "id": 346, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 438, + "name": "default.single" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 437, + "name": "default.single" + } + }, + { + "id": 260, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 339, + "character": 2 + } + ], + "signatures": [ + { + "id": 261, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for text and tsvector columns. Match only rows where\n`column` matches the query string in `query`." + }, + "typeParameter": [ + { + "id": 262, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 263, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The text or tsvector column to filter on" + }, + "type": { + "type": "reference", + "id": 262, + "name": "ColumnName" + } + }, + { + "id": 264, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The query text to match with" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 265, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 266, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 267, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The text search configuration to use" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 342, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 268, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Change how the `query` text is interpreted\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 342, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [267, 268] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 269, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 270, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 271, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 272, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 274, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 347, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 275, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 347, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [274, 275] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 380, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 381, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 382, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 383, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 384, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 385, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 386, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 387, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 388, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 390, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 391, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 473, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 472, + "name": "default.then" + } + }, + { + "id": 378, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 379, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 471, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 470, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [111] + }, + { + "title": "Properties", + "kind": 1024, + "children": [377, 369, 372, 367, 365, 368, 370, 371, 366] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 342, 204, 196, 349, 116, 353, 298, 351, 132, 140, 172, 188, 180, 164, 329, 148, 156, + 276, 347, 124, 282, 292, 313, 252, 335, 244, 212, 220, 228, 236, 363, 308, 345, 260, + 380, 378 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 27, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 392, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 393, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 113, + "name": "Row" + }, + { + "type": "reference", + "id": 114, + "name": "Result" + } + ], + "name": "default" + } + ] + }, + { + "id": 49, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 50, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 13, + "character": 2 + } + ], + "signatures": [ + { + "id": 51, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 52, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } + } + ], + "parameters": [ + { + "id": 53, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 54, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 55, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 22, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 60, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 61, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 62, + "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": 56, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 20, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 57, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 21, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [58, 56, 57] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 49, + "typeArguments": [ + { + "type": "reference", + "id": 52, + "name": "Relation" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 67, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 68, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 69, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 70, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 71, + "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": 69, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 70, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], + "id": 64, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { - "fileName": "lib/types.ts", - "line": 51, - "character": 40 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 8, + "character": 2 } ], "type": { "type": "reference", - "id": 67, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "typeParameter", - "name": "T" - }, - { - "type": "intrinsic", - "name": "null" - } - ] + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } }, { "id": 65, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", + "name": "schema", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "typeParameter": [ - { - "id": 66, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], "sources": [ { - "fileName": "lib/types.ts", - "line": 40, - "character": 29 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 9, + "character": 2 } ], "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 5, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 67, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", + "id": 66, + "name": "signal", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true + "isOptional": true }, - "typeParameter": [ - { - "id": 68, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], "sources": [ { - "fileName": "lib/types.ts", - "line": 48, - "character": 35 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 10, + "character": 2 } ], "type": { - "type": "union", - "types": [ - { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 63, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 104, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 296, + "character": 2 + } + ], + "signatures": [ + { + "id": 105, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a DELETE on the table or view.", + "text": "By default, deleted rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "parameters": [ + { + "id": 106, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 107, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 108, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count deleted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 299, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [108] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { "type": "reference", - "id": 20, + "id": 110, "typeArguments": [ { - "type": "typeParameter", - "name": "T" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" } ], - "name": "PostgrestSingleResponseSuccess" - }, - { - "type": "reference", - "id": 13, - "name": "PostgrestResponseFailure" + "name": "default" } - ] - } + } + ] + }, + { + "id": 81, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 117, + "character": 2 + } + ], + "signatures": [ + { + "id": 82, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an INSERT into the table or view.", + "text": "By default, inserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 83, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 84, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert. Pass an object to insert a single row\nor an array to insert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 83, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 83, + "name": "Row" + } + } + ] + } + }, + { + "id": 85, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 86, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 87, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count inserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 122, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [87] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 72, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 52, + "character": 2 + } + ], + "signatures": [ + { + "id": 73, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT query on the table or view." + }, + "typeParameter": [ + { + "id": 74, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 75, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 74, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 74, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 76, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 74, + "name": "Query" + } + }, + { + "id": 77, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 80, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in the table or view.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 62, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 79, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to `true`, `data` will not be returned.\nUseful if you only need the count.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 61, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [80, 79] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "reference", + "id": 75, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 97, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 247, + "character": 2 + } + ], + "signatures": [ + { + "id": 98, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPDATE on the table or view.", + "text": "By default, updated rows are not returned. To return it, chain the call\nwith `.select()` after filters.\n" + }, + "typeParameter": [ + { + "id": 99, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 100, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to update with\n" + }, + "type": { + "type": "reference", + "id": 99, + "name": "Row" + } + }, + { + "id": 101, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 102, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 103, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count updated rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 252, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [103] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 88, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 89, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform an UPSERT on the table or view. Depending on the column(s) passed\nto `onConflict`, `.upsert()` allows you to perform the equivalent of\n`.insert()` if a row with the corresponding `onConflict` columns doesn't\nexist, or if it does exist, perform an alternative action depending on\n`ignoreDuplicates`.", + "text": "By default, upserted rows are not returned. To return it, chain the call\nwith `.select()`.\n" + }, + "typeParameter": [ + { + "id": 90, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 91, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to upsert with. Pass an object to upsert a\nsingle row or an array to upsert multiple rows.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 90, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 90, + "name": "Row" + } + } + ] + } + }, + { + "id": 92, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 93, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 96, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count upserted rows.\n\n`\"exact\"`: Exact but slow count algorithm. Performs a `COUNT(*)` under the\nhood.\n\n`\"planned\"`: Approximated but fast count algorithm. Uses the Postgres\nstatistics under the hood.\n\n`\"estimated\"`: Uses exact count for low numbers and planned count for high\nnumbers.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 198, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 95, + "name": "ignoreDuplicates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, duplicate rows are ignored. If\n`false`, duplicate rows are merged with existing rows.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 197, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 94, + "name": "onConflict", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Comma-separated UNIQUE column(s) to specify how\nduplicate rows are determined. Two rows are duplicates if all the\n`onConflict` columns are equal.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 196, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [96, 95, 94] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 110, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 52, + "name": "Relation" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] } ], "groups": [ { - "title": "Classes", - "kind": 128, - "children": [27] + "title": "Constructors", + "kind": 512, + "children": [50] }, { - "title": "Interfaces", - "kind": 256, - "children": [2, 13, 5, 20] + "title": "Properties", + "kind": 1024, + "children": [67, 64, 65, 66, 63] }, { - "title": "Type aliases", - "kind": 4194304, - "children": [58, 59, 69, 65, 67] + "title": "Methods", + "kind": 2048, + "children": [104, 81, 72, 97, 88] } ], "sources": [ { - "fileName": "lib/types.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 6, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 109, + "name": "Relation", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "GenericTable" + }, + { + "type": "reference", + "name": "GenericView" + } + ] + } } ] }, { - "id": 470, - "name": "\"lib/version\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts", + "id": 394, + "name": "PostgrestTransformBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, "children": [ { - "id": 471, - "name": "version", - "kind": 32, - "kindString": "Variable", + "id": 395, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 396, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 397, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 398, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 399, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 488, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 487, + "name": "default.constructor" + } + }, + { + "id": 469, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", "flags": { - "isExported": true, - "isConst": true + "isProtected": true }, "sources": [ { - "fileName": "lib/version.ts", - "line": 2, - "character": 20 + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 } ], "type": { - "type": "stringLiteral", - "value": "0.0.0-automated" + "type": "intrinsic", + "name": "boolean" }, - "defaultValue": "\"0.0.0-automated\"" + "inheritedFrom": { + "type": "reference", + "id": 503, + "name": "default.allowEmpty" + } + }, + { + "id": 461, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 495, + "name": "default.body" + } + }, + { + "id": 464, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 466, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 467, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 468, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 498, + "name": "default.fetch" + } + }, + { + "id": 459, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 493, + "name": "default.headers" + } + }, + { + "id": 457, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 491, + "name": "default.method" + } + }, + { + "id": 460, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 494, + "name": "default.schema" + } + }, + { + "id": 462, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 496, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 463, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 497, + "name": "default.signal" + } + }, + { + "id": 458, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 492, + "name": "default.url" + } + }, + { + "id": 434, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 124, + "character": 2 + } + ], + "signatures": [ + { + "id": 435, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 436, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The AbortSignal to use for the fetch request\n" + }, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 441, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 155, + "character": 2 + } + ], + "signatures": [ + { + "id": 442, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a string in CSV format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 445, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 189, + "character": 2 + } + ], + "signatures": [ + { + "id": 446, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as the EXPLAIN plan for the query." + }, + "parameters": [ + { + "id": 447, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 448, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 449, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query will be executed and the\nactual run time will be returned\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 197, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 452, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on buffer usage\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 454, + "name": "format", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The format of the output, can be `\"text\"` (default)\nor `\"json\"`\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 202, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "text" + }, + { + "type": "literal", + "value": "json" + } + ] + } + }, + { + "id": 451, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 199, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 450, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the query identifier will be returned\nand `data` will include the output columns of the query\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 453, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, include information on WAL record generation\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [449, 452, 454, 451, 450, 453] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + }, + { + "id": 443, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 163, + "character": 2 + } + ], + "signatures": [ + { + "id": 444, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as an object in [GeoJSON](https://geojson.org) format." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 421, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 422, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `count`." + }, + "parameters": [ + { + "id": 423, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows to return" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 424, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 426, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 95, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [426] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 439, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 440, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be zero or one row (e.g. using `.limit(1)`), otherwise\nthis returns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 523, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 405, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 406, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You 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.\n" + }, + "typeParameter": [ + { + "id": 407, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 408, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 315, + "name": "ColumnName" + } + }, + { + "id": 409, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 410, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 411, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 413, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a foreign table by foreign\ncolumns\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 412, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 61, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411, 413, 412] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 414, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 415, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 416, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 417, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 418, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 420, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 419, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 65, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [418, 420, 419] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 427, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 428, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limit the query result by `from` and `to` inclusively." + }, + "parameters": [ + { + "id": 429, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 430, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 431, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 433, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to limit rows of foreign tables\ninstead of the current table\n" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [433] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 455, + "name": "rollback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 229, + "character": 2 + } + ], + "signatures": [ + { + "id": 456, + "name": "rollback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Rollback the query.", + "text": "`data` will still be returned, but the query is not committed.\n" + }, + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 400, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 401, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a SELECT on the query result.", + "text": "By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not\nreturn modified rows. By calling this method, modified rows are returned in\n`data`.\n" + }, + "typeParameter": [ + { + "id": 402, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 403, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 310, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 404, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas\n" + }, + "type": { + "type": "reference", + "id": 310, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 311, + "name": "NewResult" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 437, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 135, + "character": 2 + } + ], + "signatures": [ + { + "id": 438, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return `data` as a single object instead of an array of objects.", + "text": "Query result must be one row (e.g. using `.limit(1)`), otherwise this\nreturns an error.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 472, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 473, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 474, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 475, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 476, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 477, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 478, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 479, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 480, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 482, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 483, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult1" + }, + { + "type": "reference", + "id": 383, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 507, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 506, + "name": "default.then" + } + }, + { + "id": 470, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 471, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 394, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Row" + }, + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 505, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 504, + "name": "default.throwOnError" + } } ], "groups": [ { - "title": "Variables", - "kind": 32, - "children": [471] + "title": "Constructors", + "kind": 512, + "children": [395] + }, + { + "title": "Properties", + "kind": 1024, + "children": [469, 461, 464, 459, 457, 460, 462, 463, 458] + }, + { + "title": "Methods", + "kind": 2048, + "children": [434, 441, 445, 443, 421, 439, 405, 427, 455, 400, 437, 472, 470] } ], "sources": [ { - "fileName": "lib/version.ts", - "line": 1, - "character": 0 + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 5, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 484, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 485, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 486, + "typeArguments": [ + { + "type": "reference", + "id": 398, + "name": "Result" + } + ], + "name": "default" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 110, + "name": "PostgrestFilterBuilder" } ] + }, + { + "id": 525, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 526, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 528, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 527, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 528, 529, 527] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + }, + { + "id": 523, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 45, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 524, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 524, + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 519, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 35, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 520, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 520, + "name": "T" + } + ], + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 521, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 522, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 522, + "name": "T" + } + ], + "name": "PostgrestSingleResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } } ], "groups": [ { - "title": "Modules", - "kind": 1, - "children": [475, 513, 136, 337, 422, 71, 472, 1, 470] + "title": "Classes", + "kind": 128, + "children": [486, 1, 110, 49, 394] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [525, 523, 519, 521] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 } ] } diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json index 987fdebd8f1..c3ec92e59bb 100644 --- a/spec/enrichments/tsdoc_v2/combined.json +++ b/spec/enrichments/tsdoc_v2/combined.json @@ -577,30 +577,8 @@ "title": "Enumeration Members", "kind": 16, "children": [ - 1362, - 1363, - 1364, - 1365, - 1366, - 1367, - 1368, - 1369, - 1370, - 1371, - 1372, - 1373, - 1374, - 1375, - 1376, - 1377, - 1378, - 1379, - 1380, - 1381, - 1382, - 1383, - 1384, - 1385 + 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, + 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385 ] } ], @@ -815,9 +793,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1392 - ] + "children": [1392] } ] } @@ -1244,23 +1220,12 @@ { "title": "Enumerations", "kind": 8, - "children": [ - 1361 - ] + "children": [1361] }, { "title": "Functions", "kind": 64, - "children": [ - 1399, - 1386, - 1393, - 1412, - 1403, - 1409, - 1406, - 1416 - ] + "children": [1399, 1386, 1393, 1412, 1403, 1409, 1406, 1416] } ], "sources": [ @@ -1694,11 +1659,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 898, - 897, - 899 - ] + "children": [898, 897, 899] } ] } @@ -1780,30 +1741,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 889 - ] + "children": [889] }, { "title": "Properties", "kind": 1024, - "children": [ - 900, - 902, - 901, - 903, - 893, - 883, - 888 - ] + "children": [900, 902, 901, 903, 893, 883, 888] }, { "title": "Methods", "kind": 2048, - "children": [ - 894, - 879 - ] + "children": [894, 879] } ], "sources": [ @@ -2173,28 +2121,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 871 - ] + "children": [871] }, { "title": "Properties", "kind": 1024, - "children": [ - 874, - 876, - 875, - 877, - 865, - 870 - ] + "children": [874, 876, 875, 877, 865, 870] }, { "title": "Methods", "kind": 2048, - "children": [ - 861 - ] + "children": [861] } ], "sources": [ @@ -2630,11 +2567,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 970, - 969, - 971 - ] + "children": [970, 969, 971] } ] } @@ -2726,30 +2659,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 962 - ] + "children": [962] }, { "title": "Properties", "kind": 1024, - "children": [ - 972, - 973, - 964, - 974, - 965, - 956, - 961 - ] + "children": [972, 973, 964, 974, 965, 956, 961] }, { "title": "Methods", "kind": 2048, - "children": [ - 966, - 952 - ] + "children": [966, 952] } ], "sources": [ @@ -3184,11 +3104,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1043, - 1042, - 1044 - ] + "children": [1043, 1042, 1044] } ] } @@ -3280,30 +3196,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1034 - ] + "children": [1034] }, { "title": "Properties", "kind": 1024, - "children": [ - 1045, - 1046, - 1037, - 1047, - 1038, - 1028, - 1033 - ] + "children": [1045, 1046, 1037, 1047, 1038, 1028, 1033] }, { "title": "Methods", "kind": 2048, - "children": [ - 1039, - 1024 - ] + "children": [1039, 1024] } ], "sources": [ @@ -3723,11 +3626,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1018, - 1017, - 1019 - ] + "children": [1018, 1017, 1019] } ] } @@ -3819,30 +3718,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1010 - ] + "children": [1010] }, { "title": "Properties", "kind": 1024, - "children": [ - 1020, - 1021, - 1012, - 1022, - 1013, - 1004, - 1009 - ] + "children": [1020, 1021, 1012, 1022, 1013, 1004, 1009] }, { "title": "Methods", "kind": 2048, - "children": [ - 1014, - 1000 - ] + "children": [1014, 1000] } ], "sources": [ @@ -4262,11 +4148,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 994, - 993, - 995 - ] + "children": [994, 993, 995] } ] } @@ -4358,30 +4240,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 986 - ] + "children": [986] }, { "title": "Properties", "kind": 1024, - "children": [ - 996, - 997, - 988, - 998, - 989, - 980, - 985 - ] + "children": [996, 997, 988, 998, 989, 980, 985] }, { "title": "Methods", "kind": 2048, - "children": [ - 990, - 976 - ] + "children": [990, 976] } ], "sources": [ @@ -4798,29 +4667,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 915 - ] + "children": [915] }, { "title": "Properties", "kind": 1024, - "children": [ - 920, - 922, - 921, - 919, - 923, - 909, - 914 - ] + "children": [920, 922, 921, 919, 923, 909, 914] }, { "title": "Methods", "kind": 2048, - "children": [ - 905 - ] + "children": [905] } ], "sources": [ @@ -5276,11 +5133,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 946, - 945, - 947 - ] + "children": [946, 945, 947] } ] } @@ -5362,30 +5215,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 935 - ] + "children": [935] }, { "title": "Properties", "kind": 1024, - "children": [ - 948, - 949, - 940, - 950, - 941, - 929, - 934 - ] + "children": [948, 949, 940, 950, 941, 929, 934] }, { "title": "Methods", "kind": 2048, - "children": [ - 942, - 925 - ] + "children": [942, 925] } ], "sources": [ @@ -5672,12 +5512,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 266, - 267, - 262, - 261 - ] + "children": [266, 267, 262, 261] } ] } @@ -6239,17 +6074,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -6360,11 +6185,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 505, - 506, - 504 - ] + "children": [505, 506, 504] } ] } @@ -6448,11 +6269,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 509, - 510, - 508 - ] + "children": [509, 510, 508] } ] } @@ -6572,9 +6389,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 477 - ] + "children": [477] } ] } @@ -6699,10 +6514,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 557, - 556 - ] + "children": [557, 556] } ] } @@ -6766,10 +6578,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 560, - 559 - ] + "children": [560, 559] } ] } @@ -6958,11 +6767,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 489, - 488, - 490 - ] + "children": [489, 488, 490] } ] } @@ -7034,10 +6839,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 492, - 493 - ] + "children": [492, 493] } ] } @@ -7101,10 +6903,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 495, - 496 - ] + "children": [495, 496] } ] } @@ -7168,10 +6967,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 498, - 499 - ] + "children": [498, 499] } ] } @@ -7518,11 +7314,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 292, - 290, - 291 - ] + "children": [292, 290, 291] } ] } @@ -7647,10 +7439,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 566, - 565 - ] + "children": [566, 565] } ] } @@ -7714,10 +7503,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 569, - 568 - ] + "children": [569, 568] } ] } @@ -7923,12 +7709,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 535, - 536, - 533, - 534 - ] + "children": [535, 536, 533, 534] } ] } @@ -8065,12 +7846,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 540, - 541, - 538, - 539 - ] + "children": [540, 541, 538, 539] } ] } @@ -8195,10 +7971,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 524, - 523 - ] + "children": [524, 523] } ] } @@ -8262,10 +8035,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 527, - 526 - ] + "children": [527, 526] } ] } @@ -8397,10 +8167,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 437, - 436 - ] + "children": [437, 436] } ] } @@ -8472,10 +8239,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 440, - 439 - ] + "children": [440, 439] } ] } @@ -8539,10 +8303,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 443, - 442 - ] + "children": [443, 442] } ] } @@ -8653,10 +8414,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 515, - 514 - ] + "children": [515, 514] } ] } @@ -8720,10 +8478,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 518, - 517 - ] + "children": [518, 517] } ] } @@ -8848,10 +8603,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 463, - 462 - ] + "children": [463, 462] } ] } @@ -8915,10 +8667,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 466, - 465 - ] + "children": [466, 465] } ] } @@ -9047,10 +8796,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 450, - 449 - ] + "children": [450, 449] } ] } @@ -9127,10 +8873,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 452, - 454 - ] + "children": [452, 454] } ] } @@ -9194,10 +8937,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 456, - 457 - ] + "children": [456, 457] } ] } @@ -9350,11 +9090,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 373, - 372, - 371 - ] + "children": [373, 372, 371] } ] } @@ -9431,10 +9167,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 377 - ] + "children": [375, 377] } ] } @@ -9498,10 +9231,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 379, - 380 - ] + "children": [379, 380] } ] } @@ -9630,10 +9360,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 387, - 386 - ] + "children": [387, 386] } ] } @@ -9710,10 +9437,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 389, - 391 - ] + "children": [389, 391] } ] } @@ -9777,10 +9501,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 393, - 394 - ] + "children": [393, 394] } ] } @@ -9969,9 +9690,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 320 - ] + "children": [320] } ] } @@ -10043,10 +9762,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 322, - 323 - ] + "children": [322, 323] } ] } @@ -10110,10 +9826,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 325, - 326 - ] + "children": [325, 326] } ] } @@ -10290,13 +10003,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 847, - 844, - 848, - 845, - 846 - ] + "children": [847, 844, 848, 845, 846] } ], "sources": [ @@ -10375,10 +10082,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 361 - ] + "children": [362, 361] } ] } @@ -10442,10 +10146,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 364 - ] + "children": [365, 364] } ] } @@ -10569,9 +10270,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 350 - ] + "children": [350] } ] } @@ -10643,10 +10342,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 353, - 352 - ] + "children": [353, 352] } ] } @@ -10710,10 +10406,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 356, - 355 - ] + "children": [356, 355] } ] } @@ -10824,9 +10517,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399 - ] + "children": [399] } ] } @@ -10994,11 +10685,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 304, - 303, - 302 - ] + "children": [304, 303, 302] } ] } @@ -11070,10 +10757,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 306, - 307 - ] + "children": [306, 307] } ] } @@ -11137,10 +10821,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 309, - 310 - ] + "children": [309, 310] } ] } @@ -11204,10 +10885,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 312, - 313 - ] + "children": [312, 313] } ] } @@ -11352,10 +11030,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 334, - 333 - ] + "children": [334, 333] } ] } @@ -11427,10 +11102,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 336, - 337 - ] + "children": [336, 337] } ] } @@ -11494,10 +11166,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 339, - 340 - ] + "children": [339, 340] } ] } @@ -11561,10 +11230,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 343 - ] + "children": [342, 343] } ] } @@ -11774,13 +11440,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -11866,10 +11526,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 576, - 575 - ] + "children": [576, 575] } ] } @@ -11933,10 +11590,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 579, - 578 - ] + "children": [579, 578] } ] } @@ -12268,17 +11922,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -12366,10 +12010,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 548, - 547 - ] + "children": [548, 547] } ] } @@ -12433,10 +12074,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 551, - 550 - ] + "children": [551, 550] } ] } @@ -12565,9 +12203,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406 - ] + "children": [406] } ] } @@ -12639,10 +12275,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 408, - 409 - ] + "children": [408, 409] } ] } @@ -12706,10 +12339,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 411, - 412 - ] + "children": [411, 412] } ] } @@ -12773,10 +12403,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 414, - 415 - ] + "children": [414, 415] } ] } @@ -12919,9 +12546,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 421 - ] + "children": [421] } ] } @@ -12993,10 +12618,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 423, - 424 - ] + "children": [423, 424] } ] } @@ -13060,10 +12682,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 426, - 427 - ] + "children": [426, 427] } ] } @@ -13127,10 +12746,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 429, - 430 - ] + "children": [429, 430] } ] } @@ -13150,52 +12766,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 257 - ] + "children": [257] }, { "title": "Properties", "kind": 1024, - "children": [ - 283, - 284, - 277, - 278, - 273, - 272 - ] + "children": [283, 284, 277, 278, 273, 272] }, { "title": "Methods", "kind": 2048, "children": [ - 500, - 471, - 552, - 482, - 478, - 285, - 561, - 528, - 519, - 431, - 511, - 458, - 444, - 366, - 381, - 467, - 314, - 357, - 344, - 395, - 296, - 327, - 570, - 542, - 400, - 416 + 500, 471, 552, 482, 478, 285, 561, 528, 519, 431, 511, 458, 444, 366, 381, 467, + 314, 357, 344, 395, 296, 327, 570, 542, 400, 416 ] } ], @@ -13642,18 +13225,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 592, - 596, - 591, - 597, - 586, - 595, - 593, - 594, - 590, - 585 - ] + "children": [592, 596, 591, 597, 586, 595, 593, 594, 590, 585] } ] } @@ -14357,10 +13929,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 639, - 638 - ] + "children": [639, 638] } ] } @@ -14424,10 +13993,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 642, - 641 - ] + "children": [642, 641] } ] } @@ -14488,10 +14054,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 645, - 644 - ] + "children": [645, 644] } ] } @@ -14583,9 +14146,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 682 - ] + "children": [682] } ] } @@ -14657,10 +14218,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 685, - 684 - ] + "children": [685, 684] } ] } @@ -14724,10 +14282,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 688, - 687 - ] + "children": [688, 687] } ] } @@ -14834,10 +14389,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 650, - 649 - ] + "children": [650, 649] } ] } @@ -14901,10 +14453,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 653, - 652 - ] + "children": [653, 652] } ] } @@ -14965,10 +14514,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 656, - 655 - ] + "children": [656, 655] } ] } @@ -15154,10 +14700,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 702, - 701 - ] + "children": [702, 701] } ] } @@ -15221,10 +14764,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 705, - 704 - ] + "children": [705, 704] } ] } @@ -15344,10 +14884,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 671, - 670 - ] + "children": [671, 670] } ] } @@ -15408,10 +14945,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 674, - 673 - ] + "children": [674, 673] } ] } @@ -15475,10 +15009,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 677, - 676 - ] + "children": [677, 676] } ] } @@ -15613,10 +15144,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 822, - 821 - ] + "children": [822, 821] } ], "sources": [ @@ -15770,10 +15298,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 810, - 811 - ] + "children": [810, 811] } ], "sources": [ @@ -15845,10 +15370,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 814, - 813 - ] + "children": [814, 813] } ], "sources": [ @@ -16024,11 +15546,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 799, - 801, - 800 - ] + "children": [799, 801, 800] } ], "sources": [ @@ -16120,11 +15638,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 805, - 804, - 803 - ] + "children": [805, 804, 803] } ], "sources": [ @@ -16239,9 +15753,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 692 - ] + "children": [692] } ] } @@ -16445,14 +15957,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 791, - 796, - 793, - 792, - 795, - 794 - ] + "children": [791, 796, 793, 792, 795, 794] } ], "sources": [ @@ -16559,11 +16064,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 619, - 618, - 617 - ] + "children": [619, 618, 617] } ] } @@ -16764,13 +16265,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -16856,10 +16351,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 662, - 661 - ] + "children": [662, 661] } ] } @@ -16923,10 +16415,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 665, - 664 - ] + "children": [665, 664] } ] } @@ -17069,9 +16558,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 634 - ] + "children": [634] } ] } @@ -17101,56 +16588,20 @@ { "title": "Constructors", "kind": 512, - "children": [ - 581 - ] + "children": [581] }, { "title": "Properties", "kind": 1024, "children": [ - 712, - 706, - 707, - 710, - 708, - 709, - 718, - 713, - 715, - 711, - 716, - 714, - 717, - 602, - 605, - 604, - 610, - 606, - 609, - 611, - 608, - 607, - 603 + 712, 706, 707, 710, 708, 709, 718, 713, 715, 711, 716, 714, 717, 602, 605, 604, + 610, 606, 609, 611, 608, 607, 603 ] }, { "title": "Methods", "kind": 2048, - "children": [ - 635, - 678, - 646, - 693, - 666, - 623, - 626, - 620, - 689, - 612, - 657, - 629 - ] + "children": [635, 678, 646, 693, 666, 623, 626, 620, 689, 612, 657, 629] } ], "sources": [ @@ -17653,15 +17104,8 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, 1155, 1163, 1158, + 1153, 1152 ] } ], @@ -18441,12 +17885,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -19091,9 +18530,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -19397,57 +18834,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, + 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, + 1240, 1232, 1226, 1229, 1277, 1208, 1249, 1287, + 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } @@ -19577,57 +18980,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, + 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, + 1240, 1232, 1226, 1229, 1277, 1208, 1249, 1287, + 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } @@ -19737,67 +19106,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, 1054, 1075, + 1073, 1072, 1055, 1056, 1066, 1067, 1071, 1060, 1068, 1074, + 1070, 1069, 1076, 1077, 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, 1097, 1135, + 1105, 1128, 1108, 1111, 1102, 1125, 1118, 1095, 1092, 1137 ] } ], @@ -20012,12 +19337,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -21319,9 +20639,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -21969,58 +21287,21 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, 1229, 1277, + 1208, 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } ], @@ -22415,15 +21696,7 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152 ] } ], @@ -23203,12 +22476,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -23853,9 +23121,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -24268,67 +23534,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -24543,12 +23767,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -25850,9 +25069,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -26500,58 +25717,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, + 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, + 1226, 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, + 1210, 1290, 1274, 1220, 1268 ] } ], @@ -26789,67 +25971,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -27064,12 +26204,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -28371,9 +27506,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -29021,58 +28154,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, + 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, + 1226, 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, + 1210, 1290, 1274, 1220, 1268 ] } ], @@ -29181,40 +28279,14 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, 1054, 1075, 1073, 1072, 1055, + 1056, 1066, 1067, 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, 1078, 1064, 1065 ] }, @@ -29222,26 +28294,8 @@ "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, 1097, 1135, 1105, 1128, 1108, + 1111, 1102, 1125, 1118, 1095, 1092, 1137 ] } ], @@ -29799,15 +28853,8 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, + 1155, 1163, 1158, 1153, 1152 ] } ], @@ -30587,12 +29634,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -31237,9 +30279,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -31733,67 +30773,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -32008,12 +31006,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -33315,9 +32308,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -33965,58 +32956,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, + 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, + 1226, 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, + 1210, 1290, 1274, 1220, 1268 ] } ], @@ -34166,17 +33122,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1340, - 1341 - ] + "children": [1340, 1341] }, { "title": "Methods", "kind": 2048, - "children": [ - 1342 - ] + "children": [1342] } ] } @@ -34954,37 +33905,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1330 - ] + "children": [1330] }, { "title": "Properties", "kind": 1024, - "children": [ - 1338, - 1334, - 1359, - 1337, - 1336, - 1335, - 1329, - 1327, - 1328 - ] + "children": [1338, 1334, 1359, 1337, 1336, 1335, 1329, 1327, 1328] }, { "title": "Methods", "kind": 2048, - "children": [ - 1355, - 1344, - 1347, - 1350, - 1322, - 1316, - 1310 - ] + "children": [1355, 1344, 1347, 1350, 1322, 1316, 1310] } ], "sources": [ @@ -35401,14 +34332,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -35474,9 +34398,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -35577,10 +34499,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -35624,12 +34543,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -36659,15 +35573,7 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152 ] } ], @@ -37115,18 +36021,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 68, - 72, - 67, - 73, - 62, - 71, - 69, - 70, - 66, - 61 - ] + "children": [68, 72, 67, 73, 62, 71, 69, 70, 66, 61] } ], "sources": [ @@ -37332,10 +36227,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 243, - 242 - ] + "children": [243, 242] } ] } @@ -37397,10 +36289,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 246, - 245 - ] + "children": [246, 245] } ] } @@ -38238,15 +37127,8 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, + 1155, 1163, 1158, 1153, 1152 ] } ], @@ -39026,12 +37908,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -39676,9 +38553,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -40172,67 +39047,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -40447,12 +39280,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -41754,9 +40582,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -42404,58 +41230,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, + 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, + 1226, 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, + 1210, 1290, 1274, 1220, 1268 ] } ], @@ -42658,10 +41449,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 210, - 209 - ] + "children": [210, 209] } ] } @@ -42774,53 +41562,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 162 - ] + "children": [162] }, { "title": "Properties", "kind": 1024, - "children": [ - 170, - 172, - 183, - 178, - 174, - 184, - 175, - 171, - 176, - 177, - 173, - 189, - 188 - ] + "children": [170, 172, 183, 178, 174, 184, 175, 171, 176, 177, 173, 189, 188] }, { "title": "Accessors", "kind": 262144, - "children": [ - 190, - 192 - ] + "children": [190, 192] }, { "title": "Methods", "kind": 2048, - "children": [ - 225, - 247, - 236, - 227, - 239, - 211, - 194, - 218, - 223, - 220, - 201 - ] + "children": [225, 247, 236, 227, 239, 211, 194, 218, 223, 220, 201] } ], "sources": [ @@ -43216,17 +41973,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -43421,15 +42168,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 143, - 145, - 144, - 142, - 146, - 147, - 148 - ] + "children": [143, 145, 144, 142, 146, 147, 148] } ], "sources": [ @@ -43522,9 +42261,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 117 - ] + "children": [117] } ], "indexSignature": { @@ -43978,26 +42715,8 @@ "title": "Properties", "kind": 1024, "children": [ - 130, - 115, - 124, - 125, - 134, - 133, - 131, - 127, - 135, - 114, - 140, - 129, - 137, - 128, - 132, - 136, - 126, - 138, - 139, - 120 + 130, 115, 124, 125, 134, 133, 131, 127, 135, 114, 140, 129, 137, 128, 132, 136, + 126, 138, 139, 120 ] } ], @@ -44140,13 +42859,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 787, - 786, - 785, - 788, - 789 - ] + "children": [787, 786, 785, 788, 789] } ], "sources": [ @@ -44277,13 +42990,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 847, - 844, - 848, - 845, - 846 - ] + "children": [847, 844, 848, 845, 846] } ], "sources": [ @@ -44406,11 +43113,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 826, - 824, - 825 - ] + "children": [826, 824, 825] } ], "sources": [ @@ -44456,9 +43159,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 807 - ] + "children": [807] } ], "sources": [ @@ -44549,11 +43250,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 818, - 816, - 817 - ] + "children": [818, 816, 817] } ], "sources": [ @@ -44757,17 +43454,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 777 - ] + "children": [777] }, { "title": "Methods", "kind": 2048, - "children": [ - 778, - 782 - ] + "children": [778, 782] } ], "sources": [ @@ -44912,13 +43604,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -45085,14 +43771,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 791, - 796, - 793, - 792, - 795, - 794 - ] + "children": [791, 796, 793, 792, 795, 794] } ], "sources": [ @@ -45293,15 +43972,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 756, - 749, - 751, - 757, - 755, - 758, - 750 - ] + "children": [756, 749, 751, 757, 755, 758, 750] } ], "sources": [ @@ -45410,12 +44081,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 837, - 838, - 839, - 840 - ] + "children": [837, 838, 839, 840] } ], "sources": [ @@ -45525,12 +44191,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 832, - 833, - 834, - 835 - ] + "children": [832, 833, 834, 835] } ], "sources": [ @@ -45710,10 +44371,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 726, - 725 - ] + "children": [726, 725] } ], "sources": [ @@ -45751,10 +44409,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 723, - 727 - ] + "children": [723, 727] } ], "sources": [ @@ -45848,10 +44503,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 732, - 731 - ] + "children": [732, 731] } ], "sources": [ @@ -45892,10 +44544,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 729, - 733 - ] + "children": [729, 733] } ], "sources": [ @@ -45987,10 +44636,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 853, - 852 - ] + "children": [853, 852] } ], "sources": [ @@ -46061,10 +44707,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 856, - 855 - ] + "children": [856, 855] } ], "sources": [ @@ -46252,10 +44895,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 738, - 739 - ] + "children": [738, 739] } ], "sources": [ @@ -46293,10 +44933,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 736, - 740 - ] + "children": [736, 740] } ], "sources": [ @@ -46393,10 +45030,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 744, - 745 - ] + "children": [744, 745] } ], "sources": [ @@ -46437,10 +45071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 742, - 746 - ] + "children": [742, 746] } ], "sources": [ @@ -46570,12 +45201,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 160, - 158, - 159, - 157 - ] + "children": [160, 158, 159, 157] } ], "sources": [ @@ -47145,17 +45771,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 - ] + "children": [1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152] } ], "sources": [ @@ -47246,10 +45862,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 822, - 821 - ] + "children": [822, 821] } ], "sources": [ @@ -47360,11 +45973,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 799, - 801, - 800 - ] + "children": [799, 801, 800] } ], "sources": [ @@ -47456,11 +46065,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 805, - 804, - 803 - ] + "children": [805, 804, 803] } ], "sources": [ @@ -47553,10 +46158,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 810, - 811 - ] + "children": [810, 811] } ], "sources": [ @@ -47628,10 +46230,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 814, - 813 - ] + "children": [814, 813] } ], "sources": [ @@ -48125,14 +46724,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -48198,9 +46790,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -48301,10 +46891,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -48348,12 +46935,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -48453,89 +47035,34 @@ { "title": "References", "kind": 16777216, - "children": [ - 747, - 255, - 759 - ] + "children": [747, 255, 759] }, { "title": "Namespaces", "kind": 4, - "children": [ - 1360 - ] + "children": [1360] }, { "title": "Classes", "kind": 128, - "children": [ - 878, - 860, - 951, - 1023, - 999, - 975, - 904, - 924, - 256, - 580, - 1167, - 1048, - 1309, - 161 - ] + "children": [878, 860, 951, 1023, 999, 975, 904, 924, 256, 580, 1167, 1048, 1309, 161] }, { "title": "Interfaces", "kind": 256, - "children": [ - 766, - 141, - 113, - 784, - 843, - 823, - 806, - 815, - 776, - 760, - 790, - 748, - 836, - 831 - ] + "children": [766, 141, 113, 784, 843, 823, 806, 815, 776, 760, 790, 748, 836, 831] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 720, - 721, - 850, - 842, - 841, - 734, - 155, - 153, - 149, - 151, - 719, - 1150, - 819, - 797, - 808, - 849, - 830 + 720, 721, 850, 842, 841, 734, 155, 153, 149, 151, 719, 1150, 819, 797, 808, 849, 830 ] }, { "title": "Functions", "kind": 64, - "children": [ - 2, - 857 - ] + "children": [2, 857] } ], "sources": [ @@ -48601,9 +47128,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 13 - ] + "children": [13] } ] } @@ -48615,9 +47140,7 @@ { "title": "Variables", "kind": 32, - "children": [ - 11 - ] + "children": [11] } ], "sources": [ @@ -49069,9 +47592,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 29 - ] + "children": [29] } ] } @@ -49084,11 +47605,7 @@ { "title": "Functions", "kind": 64, - "children": [ - 30, - 15, - 26 - ] + "children": [30, 15, 26] } ], "sources": [ @@ -49420,14 +47937,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -49493,9 +48003,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -49596,10 +48104,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -49643,12 +48148,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -49893,14 +48393,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -49966,9 +48459,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -50069,10 +48560,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -50116,12 +48604,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -50251,12 +48734,7 @@ { "title": "Functions", "kind": 64, - "children": [ - 51, - 57, - 48, - 46 - ] + "children": [51, 57, 48, 46] } ], "sources": [ @@ -50662,18 +49140,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 68, - 72, - 67, - 73, - 62, - 71, - 69, - 70, - 66, - 61 - ] + "children": [68, 72, 67, 73, 62, 71, 69, 70, 66, 61] } ], "sources": [ @@ -50789,10 +49256,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 105, - 106 - ] + "children": [105, 106] } ], "sources": [ @@ -50894,10 +49358,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 110, - 109 - ] + "children": [110, 109] } ], "sources": [ @@ -51027,11 +49488,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 101, - 100, - 102 - ] + "children": [101, 100, 102] } ], "sources": [ @@ -51258,14 +49715,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -51331,9 +49781,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -51434,10 +49882,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -51481,12 +49926,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -51504,20 +49944,12 @@ { "title": "Interfaces", "kind": 256, - "children": [ - 60 - ] + "children": [60] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 78, - 103, - 107, - 98, - 79 - ] + "children": [78, 103, 107, 98, 79] } ], "sources": [ @@ -51561,9 +49993,7 @@ { "title": "Variables", "kind": 32, - "children": [ - 112 - ] + "children": [112] } ], "sources": [ @@ -51579,14 +50009,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 10, - 14, - 45, - 59, - 111 - ] + "children": [1, 10, 14, 45, 59, 111] } ] }, @@ -51776,11 +50199,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 509, - 508, - 510 - ] + "children": [509, 508, 510] } ] } @@ -51793,23 +50212,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 500 - ] + "children": [500] }, { "title": "Properties", "kind": 1024, - "children": [ - 504 - ] + "children": [504] }, { "title": "Methods", "kind": 2048, - "children": [ - 505 - ] + "children": [505] } ], "sources": [ @@ -51888,9 +50301,7 @@ { "title": "Constructors", "kind": 512, - "children": [ - 495 - ] + "children": [495] } ], "sources": [ @@ -52028,10 +50439,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 566, - 565 - ] + "children": [566, 565] } ] } @@ -52129,10 +50537,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 570, - 569 - ] + "children": [570, 569] } ] } @@ -52286,10 +50691,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 580, - 579 - ] + "children": [580, 579] } ] } @@ -52360,12 +50762,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 577, - 575, - 574, - 576 - ] + "children": [577, 575, 574, 576] } ] } @@ -52388,25 +50785,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 560 - ] + "children": [560] }, { "title": "Properties", "kind": 1024, - "children": [ - 567, - 581, - 582 - ] + "children": [567, 581, 582] }, { "title": "Methods", "kind": 2048, - "children": [ - 571 - ] + "children": [571] } ], "sources": [ @@ -52619,11 +51008,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 556, - 555, - 557 - ] + "children": [556, 555, 557] } ] } @@ -52646,24 +51031,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 547 - ] + "children": [547] }, { "title": "Properties", "kind": 1024, - "children": [ - 550, - 551 - ] + "children": [550, 551] }, { "title": "Methods", "kind": 2048, - "children": [ - 552 - ] + "children": [552] } ], "sources": [ @@ -52887,11 +51265,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 595, - 594, - 596 - ] + "children": [595, 594, 596] } ] } @@ -52914,24 +51288,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 585 - ] + "children": [585] }, { "title": "Properties", "kind": 1024, - "children": [ - 589, - 590 - ] + "children": [589, 590] }, { "title": "Methods", "kind": 2048, - "children": [ - 591 - ] + "children": [591] } ], "sources": [ @@ -53131,11 +51498,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 543, - 542, - 544 - ] + "children": [543, 542, 544] } ] } @@ -53158,24 +51521,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 535 - ] + "children": [535] }, { "title": "Properties", "kind": 1024, - "children": [ - 537, - 538 - ] + "children": [537, 538] }, { "title": "Methods", "kind": 2048, - "children": [ - 539 - ] + "children": [539] } ], "sources": [ @@ -53285,16 +51641,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 513 - ] + "children": [513] }, { "title": "Properties", "kind": 1024, - "children": [ - 517 - ] + "children": [517] } ], "sources": [ @@ -53523,11 +51875,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 531, - 530, - 532 - ] + "children": [531, 530, 532] } ] } @@ -53540,24 +51888,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 520 - ] + "children": [520] }, { "title": "Properties", "kind": 1024, - "children": [ - 525, - 526 - ] + "children": [525, 526] }, { "title": "Methods", "kind": 2048, - "children": [ - 527 - ] + "children": [527] } ], "sources": [ @@ -53802,11 +52143,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 11, - 7, - 6 - ] + "children": [11, 7, 6] } ] } @@ -54076,16 +52413,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -54428,10 +52756,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 37, - 36 - ] + "children": [37, 36] } ] } @@ -54543,9 +52868,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 49 - ] + "children": [49] } ] } @@ -54574,10 +52897,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 47, - 50 - ] + "children": [47, 50] } ] } @@ -54635,9 +52955,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 54 - ] + "children": [54] } ] } @@ -54667,10 +52985,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 52, - 55 - ] + "children": [52, 55] } ] } @@ -54769,9 +53084,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 30 - ] + "children": [30] } ] } @@ -55053,16 +53366,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -55104,23 +53408,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Methods", "kind": 2048, - "children": [ - 41, - 63, - 38, - 56, - 31, - 44, - 26, - 59 - ] + "children": [41, 63, 38, 56, 31, 44, 26, 59] } ], "sources": [ @@ -55396,16 +53689,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 250, - 249, - 253, - 244, - 251, - 252, - 248, - 243 - ] + "children": [250, 249, 253, 244, 251, 252, 248, 243] } ], "sources": [ @@ -55535,9 +53819,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 116 - ] + "children": [116] } ] } @@ -55566,10 +53848,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 114, - 117 - ] + "children": [114, 117] } ] } @@ -55628,9 +53907,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 121 - ] + "children": [121] } ] } @@ -55660,10 +53937,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 119, - 122 - ] + "children": [119, 122] } ] } @@ -55722,9 +53996,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 126 - ] + "children": [126] } ] } @@ -55753,10 +54025,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 124, - 127 - ] + "children": [124, 127] } ] } @@ -56015,9 +54284,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 167 - ] + "children": [167] } ] } @@ -56028,9 +54295,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 165 - ] + "children": [165] } ] } @@ -56142,10 +54407,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 174, - 173 - ] + "children": [174, 173] } ] } @@ -56215,10 +54477,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 176, - 178 - ] + "children": [176, 178] } ] } @@ -56274,10 +54533,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 180, - 181 - ] + "children": [180, 181] } ] } @@ -56537,11 +54793,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 410, - 408, - 409 - ] + "children": [410, 408, 409] } ], "sources": [ @@ -56581,10 +54833,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406, - 405 - ] + "children": [406, 405] } ], "sources": [ @@ -56794,11 +55043,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 396, - 394, - 395 - ] + "children": [396, 394, 395] } ], "sources": [ @@ -56816,10 +55061,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 392 - ] + "children": [391, 392] } ], "sources": [ @@ -56915,10 +55157,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 402, - 401 - ] + "children": [402, 401] } ], "sources": [ @@ -56957,10 +55196,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399, - 398 - ] + "children": [399, 398] } ], "sources": [ @@ -57126,9 +55362,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 382 - ] + "children": [382] } ], "sources": [ @@ -57167,11 +55401,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 378, - 380, - 379 - ] + "children": [378, 380, 379] } ], "sources": [ @@ -57244,9 +55474,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 388 - ] + "children": [388] } ], "sources": [ @@ -57306,11 +55534,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 386, - 385, - 384 - ] + "children": [386, 385, 384] } ], "sources": [ @@ -57413,9 +55637,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 156 - ] + "children": [156] } ] } @@ -57608,11 +55830,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 368, - 367, - 366 - ] + "children": [368, 367, 366] } ], "sources": [ @@ -57651,11 +55869,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 364, - 363 - ] + "children": [362, 364, 363] } ], "sources": [ @@ -57752,10 +55966,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 374 - ] + "children": [375, 374] } ], "sources": [ @@ -57815,11 +56026,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372, - 371, - 370 - ] + "children": [372, 371, 370] } ], "sources": [ @@ -57992,12 +56199,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 339, - 341, - 340 - ] + "children": [342, 339, 341, 340] } ], "sources": [ @@ -58121,35 +56323,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 67 - ] + "children": [67] }, { "title": "Properties", "kind": 1024, - "children": [ - 70 - ] + "children": [70] }, { "title": "Methods", "kind": 2048, - "children": [ - 111, - 128, - 92, - 157, - 168, - 134, - 102, - 105, - 99, - 153, - 96, - 131, - 108 - ] + "children": [111, 128, 92, 157, 168, 134, 102, 105, 99, 153, 96, 131, 108] } ], "sources": [ @@ -58381,16 +56565,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -58467,10 +56642,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 456, - 457 - ] + "children": [456, 457] } ], "sources": [ @@ -58645,15 +56817,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 293, - 296, - 295, - 292, - 294, - 297, - 298 - ] + "children": [293, 296, 295, 292, 294, 297, 298] } ], "sources": [ @@ -58835,17 +56999,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 353 - ] + "children": [353] }, { "title": "Methods", "kind": 2048, - "children": [ - 354, - 358 - ] + "children": [354, 358] } ], "sources": [ @@ -58930,9 +57089,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 314 - ] + "children": [314] } ], "indexSignature": { @@ -59352,26 +57509,8 @@ "title": "Properties", "kind": 1024, "children": [ - 327, - 312, - 321, - 322, - 331, - 330, - 328, - 324, - 332, - 311, - 337, - 326, - 334, - 325, - 329, - 333, - 323, - 335, - 336, - 317 + 327, 312, 321, 322, 331, 330, 328, 324, 332, 311, 337, 326, 334, 325, 329, 333, 323, + 335, 336, 317 ] } ], @@ -59488,12 +57627,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 339, - 341, - 340 - ] + "children": [342, 339, 341, 340] } ], "sources": [ @@ -59680,15 +57814,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 307, - 300, - 302, - 308, - 306, - 309, - 301 - ] + "children": [307, 300, 302, 308, 306, 309, 301] } ], "sources": [ @@ -59802,10 +57928,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 430, - 429 - ] + "children": [430, 429] } ] } @@ -59859,12 +57982,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 424, - 427, - 425, - 426 - ] + "children": [424, 427, 425, 426] } ], "sources": [ @@ -59957,10 +58075,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 422, - 421 - ] + "children": [422, 421] } ] } @@ -60035,12 +58150,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 419, - 416, - 417, - 418 - ] + "children": [419, 416, 417, 418] } ], "sources": [ @@ -60202,10 +58312,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 259, - 258 - ] + "children": [259, 258] } ], "sources": [ @@ -60241,10 +58348,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 256, - 260 - ] + "children": [256, 260] } ], "sources": [ @@ -60328,10 +58432,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 265, - 264 - ] + "children": [265, 264] } ], "sources": [ @@ -60368,10 +58469,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 262, - 266 - ] + "children": [262, 266] } ], "sources": [ @@ -60453,10 +58551,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 487, - 486 - ] + "children": [487, 486] } ], "sources": [ @@ -60519,10 +58614,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 490, - 489 - ] + "children": [490, 489] } ], "sources": [ @@ -60705,12 +58797,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 452, - 453, - 454, - 451 - ] + "children": [452, 453, 454, 451] } ], "sources": [ @@ -60840,11 +58927,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 442, - 443, - 441 - ] + "children": [442, 443, 441] } ], "sources": [ @@ -61032,13 +59115,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 474, - 475, - 476, - 477, - 478 - ] + "children": [474, 475, 476, 477, 478] } ], "sources": [ @@ -61141,10 +59218,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 463, - 464 - ] + "children": [463, 464] } ], "sources": [ @@ -61180,10 +59254,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 461, - 465 - ] + "children": [461, 465] } ], "sources": [ @@ -61267,10 +59338,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 469, - 470 - ] + "children": [469, 470] } ], "sources": [ @@ -61307,10 +59375,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 467, - 471 - ] + "children": [467, 471] } ], "sources": [ @@ -61467,11 +59532,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 447, - 448, - 446 - ] + "children": [447, 448, 446] } ], "sources": [ @@ -61607,12 +59668,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 436, - 438, - 437, - 435 - ] + "children": [436, 438, 437, 435] } ], "sources": [ @@ -61849,16 +59905,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 250, - 249, - 253, - 244, - 251, - 252, - 248, - 243 - ] + "children": [250, 249, 253, 244, 251, 252, 248, 243] } ], "sources": [ @@ -61926,9 +59973,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 483 - ] + "children": [483] } ], "sources": [ @@ -62057,10 +60102,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 271, - 272 - ] + "children": [271, 272] } ], "sources": [ @@ -62096,10 +60138,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 269, - 273 - ] + "children": [269, 273] } ], "sources": [ @@ -62184,10 +60223,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 277, - 278 - ] + "children": [277, 278] } ], "sources": [ @@ -62224,10 +60260,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 275, - 279 - ] + "children": [275, 279] } ], "sources": [ @@ -62484,11 +60517,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 410, - 408, - 409 - ] + "children": [410, 408, 409] } ], "sources": [ @@ -62528,10 +60557,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406, - 405 - ] + "children": [406, 405] } ], "sources": [ @@ -62642,9 +60668,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 382 - ] + "children": [382] } ], "sources": [ @@ -62683,11 +60707,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 378, - 380, - 379 - ] + "children": [378, 380, 379] } ], "sources": [ @@ -62760,9 +60780,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 388 - ] + "children": [388] } ], "sources": [ @@ -62822,11 +60840,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 386, - 385, - 384 - ] + "children": [386, 385, 384] } ], "sources": [ @@ -62985,11 +60999,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 396, - 394, - 395 - ] + "children": [396, 394, 395] } ], "sources": [ @@ -63007,10 +61017,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 392 - ] + "children": [391, 392] } ], "sources": [ @@ -63106,10 +61113,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 402, - 401 - ] + "children": [402, 401] } ], "sources": [ @@ -63148,10 +61152,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399, - 398 - ] + "children": [399, 398] } ], "sources": [ @@ -63311,11 +61312,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 368, - 367, - 366 - ] + "children": [368, 367, 366] } ], "sources": [ @@ -63354,11 +61351,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 364, - 363 - ] + "children": [362, 364, 363] } ], "sources": [ @@ -63455,10 +61448,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 374 - ] + "children": [375, 374] } ], "sources": [ @@ -63518,11 +61508,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372, - 371, - 370 - ] + "children": [372, 371, 370] } ], "sources": [ @@ -63659,9 +61645,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 284 - ] + "children": [284] } ], "sources": [ @@ -63697,10 +61681,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 282, - 285 - ] + "children": [282, 285] } ], "sources": [ @@ -63766,9 +61747,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 289 - ] + "children": [289] } ], "sources": [ @@ -63805,10 +61784,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 287, - 290 - ] + "children": [287, 290] } ], "sources": [ @@ -63903,70 +61879,25 @@ { "title": "Classes", "kind": 128, - "children": [ - 499, - 494, - 559, - 546, - 584, - 534, - 512, - 519, - 1, - 66 - ] + "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66] }, { "title": "Interfaces", "kind": 256, - "children": [ - 343, - 455, - 291, - 352, - 310, - 338, - 299, - 423, - 415 - ] + "children": [343, 455, 291, 352, 310, 338, 299, 423, 415] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 240, - 254, - 484, - 432, - 449, - 439, - 458, - 472, - 459, - 479, - 444, - 433, - 241, - 481, - 431, - 267, - 239, - 403, - 376, - 389, - 360, - 480, - 280, - 414 + 240, 254, 484, 432, 449, 439, 458, 472, 459, 479, 444, 433, 241, 481, 431, 267, 239, + 403, 376, 389, 360, 480, 280, 414 ] }, { "title": "Functions", "kind": 64, - "children": [ - 491 - ] + "children": [491] } ], "sources": [ @@ -64054,32 +61985,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -64712,32 +62628,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -65091,11 +62992,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 12, - 10, - 11 - ] + "children": [12, 10, 11] } ] } @@ -65580,11 +63477,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 40, - 42 - ] + "children": [41, 40, 42] } ] } @@ -65697,27 +63590,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, - "children": [ - 20, - 18, - 19, - 17 - ] + "children": [20, 18, 19, 17] }, { "title": "Methods", "kind": 2048, - "children": [ - 25, - 32 - ] + "children": [25, 32] } ], "sources": [ @@ -66563,32 +64446,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -67809,13 +65677,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 358, - 361, - 360, - 359, - 362 - ] + "children": [358, 361, 360, 359, 362] } ] } @@ -69195,9 +67057,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 335 - ] + "children": [335] } ] } @@ -70121,9 +67981,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132 - ] + "children": [132] } ] } @@ -70286,11 +68144,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 320, - 322, - 321 - ] + "children": [320, 322, 321] } ] } @@ -70418,11 +68272,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 327, - 329, - 328 - ] + "children": [327, 329, 328] } ] } @@ -70724,9 +68574,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342 - ] + "children": [342] } ] } @@ -71771,10 +69619,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 284, - 285 - ] + "children": [284, 285] } ] } @@ -71903,10 +69748,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 291, - 292 - ] + "children": [291, 292] } ] } @@ -72236,63 +70078,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 112 - ] + "children": [112] }, { "title": "Properties", "kind": 1024, - "children": [ - 375, - 367, - 370, - 365, - 363, - 366, - 368, - 369, - 364 - ] + "children": [375, 367, 370, 365, 363, 366, 368, 369, 364] }, { "title": "Methods", "kind": 2048, "children": [ - 343, - 221, - 213, - 350, - 133, - 354, - 293, - 352, - 149, - 157, - 189, - 205, - 197, - 181, - 330, - 165, - 173, - 303, - 348, - 141, - 117, - 127, - 314, - 269, - 336, - 261, - 237, - 245, - 229, - 253, - 309, - 346, - 277, - 378, + 343, 221, 213, 350, 133, 354, 293, 352, 149, 157, 189, 205, 197, 181, 330, 165, 173, + 303, 348, 141, 117, 127, 314, 269, 336, 261, 237, 245, 229, 253, 309, 346, 277, 378, 376 ] } @@ -72561,11 +70359,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 55, - 53, - 54 - ] + "children": [55, 53, 54] } ] } @@ -72861,10 +70655,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 108, - 109 - ] + "children": [108, 109] } ] } @@ -73054,10 +70845,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 85 - ] + "children": [84, 85] } ] } @@ -73275,10 +71063,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 77, - 76 - ] + "children": [77, 76] } ] } @@ -73457,10 +71242,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 102, - 103 - ] + "children": [102, 103] } ] } @@ -73696,12 +71478,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 93, - 94, - 92, - 95 - ] + "children": [93, 94, 92, 95] } ] } @@ -73740,31 +71517,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 47 - ] + "children": [47] }, { "title": "Properties", "kind": 1024, - "children": [ - 64, - 61, - 62, - 63, - 60 - ] + "children": [64, 61, 62, 63, 60] }, { "title": "Methods", "kind": 2048, - "children": [ - 104, - 78, - 69, - 96, - 86 - ] + "children": [104, 78, 69, 96, 86] } ], "sources": [ @@ -74502,32 +72265,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -75181,13 +72929,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 447, - 450, - 449, - 448, - 451 - ] + "children": [447, 450, 449, 448, 451] } ] } @@ -75368,9 +73110,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 424 - ] + "children": [424] } ] } @@ -75579,11 +73319,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 409, - 411, - 410 - ] + "children": [409, 411, 410] } ] } @@ -75706,11 +73442,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 416, - 418, - 417 - ] + "children": [416, 418, 417] } ] } @@ -75833,9 +73565,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 431 - ] + "children": [431] } ] } @@ -76331,42 +74061,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 393 - ] + "children": [393] }, { "title": "Properties", "kind": 1024, - "children": [ - 464, - 456, - 459, - 454, - 452, - 455, - 457, - 458, - 453 - ] + "children": [464, 456, 459, 454, 452, 455, 457, 458, 453] }, { "title": "Methods", "kind": 2048, - "children": [ - 432, - 439, - 443, - 441, - 419, - 437, - 403, - 425, - 398, - 435, - 467, - 465 - ] + "children": [432, 439, 443, 441, 419, 437, 403, 425, 398, 435, 467, 465] } ], "sources": [ @@ -76533,12 +74238,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 525, - 523, - 524, - 522 - ] + "children": [525, 523, 524, 522] } ], "sources": [ @@ -76686,23 +74386,12 @@ { "title": "Classes", "kind": 128, - "children": [ - 481, - 1, - 111, - 46, - 392 - ] + "children": [481, 1, 111, 46, 392] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 520, - 518, - 514, - 516 - ] + "children": [520, 518, 514, 516] } ], "sources": [ @@ -77200,30 +74889,8 @@ "title": "Enumeration Members", "kind": 16, "children": [ - 365, - 366, - 367, - 368, - 369, - 370, - 371, - 372, - 373, - 374, - 375, - 376, - 377, - 378, - 379, - 380, - 381, - 382, - 383, - 384, - 385, - 386, - 387, - 388 + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, + 381, 382, 383, 384, 385, 386, 387, 388 ] } ], @@ -77408,9 +75075,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 395 - ] + "children": [395] } ] } @@ -77766,23 +75431,12 @@ { "title": "Enumerations", "kind": 8, - "children": [ - 364 - ] + "children": [364] }, { "title": "Functions", "kind": 64, - "children": [ - 402, - 389, - 396, - 415, - 406, - 412, - 409, - 419 - ] + "children": [402, 389, 396, 415, 406, 412, 409, 419] } ], "sources": [ @@ -78230,15 +75884,7 @@ "title": "Properties", "kind": 1024, "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 + 132, 131, 134, 129, 130, 138, 133, 128, 127 ] } ], @@ -78858,12 +76504,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -79430,9 +77071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -79709,24 +77348,13 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, + 161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180 ] }, @@ -79734,31 +77362,9 @@ "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, + 210, 213, 261, 192, 233, 271, 186, 279, 241, 188, + 194, 274, 258, 204, 252 ] } ], @@ -79873,24 +77479,13 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, + 161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180 ] }, @@ -79898,31 +77493,9 @@ "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, + 210, 213, 261, 192, 233, 271, 186, 279, 241, 188, + 194, 274, 258, 204, 252 ] } ], @@ -80025,62 +77598,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, 23, 22, 29, + 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, 57, 80, 73, + 50, 47, 92 ] } ], @@ -80270,12 +77803,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -81359,9 +78887,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -81944,56 +79470,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, 233, 271, 186, + 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -82351,17 +79840,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 - ] + "children": [132, 131, 134, 129, 130, 138, 133, 128, 127] } ], "sources": [ @@ -82980,12 +80459,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -83552,9 +81026,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -83921,62 +81393,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, + 27, 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, + 66, 57, 80, 73, 50, 47, 92 ] } ], @@ -84166,12 +81598,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -85255,9 +82682,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -85840,56 +83265,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, + 192, 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -86094,62 +83482,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, + 27, 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, + 66, 57, 80, 73, 50, 47, 92 ] } ], @@ -86339,12 +83687,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -87428,9 +84771,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -88013,56 +85354,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, + 192, 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -88165,62 +85469,20 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, 57, 80, 73, 50, 47, 92 ] } ], @@ -88713,15 +85975,8 @@ "title": "Properties", "kind": 1024, "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 + 132, 131, 134, 129, 130, 138, + 133, 128, 127 ] } ], @@ -89341,12 +86596,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -89913,9 +87163,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -90366,62 +87614,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, + 27, 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, + 66, 57, 80, 73, 50, 47, 92 ] } ], @@ -90611,12 +87819,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -91700,9 +88903,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -92285,56 +89486,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, + 192, 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -92469,17 +89633,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 341, - 342 - ] + "children": [341, 342] }, { "title": "Methods", "kind": 2048, - "children": [ - 343 - ] + "children": [343] } ] } @@ -93056,33 +90215,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 332 - ] + "children": [332] }, { "title": "Properties", "kind": 1024, - "children": [ - 339, - 345, - 338, - 337, - 336 - ] + "children": [339, 345, 338, 337, 336] }, { "title": "Methods", "kind": 2048, - "children": [ - 357, - 346, - 349, - 352, - 313, - 307, - 301 - ] + "children": [357, 346, 349, 352, 313, 307, 301] } ], "sources": [ @@ -93382,17 +90525,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 - ] + "children": [132, 131, 134, 129, 130, 138, 133, 128, 127] } ], "sources": [ @@ -93410,25 +90543,17 @@ { "title": "Namespaces", "kind": 4, - "children": [ - 363 - ] + "children": [363] }, { "title": "Classes", "kind": 128, - "children": [ - 142, - 1, - 300 - ] + "children": [142, 1, 300] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 125 - ] + "children": [125] } ], "sources": [ @@ -93631,11 +90756,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 390, - 392 - ] + "children": [391, 390, 392] } ] } @@ -93648,23 +90769,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 382 - ] + "children": [382] }, { "title": "Properties", "kind": 1024, - "children": [ - 386 - ] + "children": [386] }, { "title": "Methods", "kind": 2048, - "children": [ - 387 - ] + "children": [387] } ], "sources": [ @@ -93933,9 +91048,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 297 - ] + "children": [297] } ] } @@ -94012,10 +91125,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 299, - 300 - ] + "children": [299, 300] } ] } @@ -94071,10 +91181,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 302, - 303 - ] + "children": [302, 303] } ] } @@ -94198,9 +91305,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 335 - ] + "children": [335] } ] } @@ -94229,10 +91334,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 333, - 336 - ] + "children": [333, 336] } ] } @@ -94288,10 +91390,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 338, - 339 - ] + "children": [338, 339] } ] } @@ -94415,9 +91514,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 324 - ] + "children": [324] } ] } @@ -94446,10 +91543,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 322, - 325 - ] + "children": [322, 325] } ] } @@ -94505,10 +91599,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 327, - 328 - ] + "children": [327, 328] } ] } @@ -94676,10 +91767,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 287, - 288 - ] + "children": [287, 288] } ] } @@ -94735,10 +91823,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 290, - 291 - ] + "children": [290, 291] } ] } @@ -94846,10 +91931,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 278, - 279 - ] + "children": [278, 279] } ] } @@ -94905,10 +91987,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 281, - 282 - ] + "children": [281, 282] } ] } @@ -95012,9 +92091,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 309 - ] + "children": [309] } ] } @@ -95081,9 +92158,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 313 - ] + "children": [313] } ] } @@ -95112,10 +92187,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 311, - 314 - ] + "children": [311, 314] } ] } @@ -95171,10 +92243,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 316, - 317 - ] + "children": [316, 317] } ] } @@ -95204,22 +92273,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 250 - ] + "children": [250] }, { "title": "Methods", "kind": 2048, - "children": [ - 292, - 329, - 318, - 262, - 283, - 275, - 304 - ] + "children": [292, 329, 318, 262, 283, 275, 304] } ], "sources": [ @@ -95298,9 +92357,7 @@ { "title": "Constructors", "kind": 512, - "children": [ - 377 - ] + "children": [377] } ], "sources": [ @@ -95423,16 +92480,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 395 - ] + "children": [395] }, { "title": "Properties", "kind": 1024, - "children": [ - 399 - ] + "children": [399] } ], "sources": [ @@ -95570,14 +92623,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 344, - 341, - 342, - 343, - 346, - 345 - ] + "children": [344, 341, 342, 343, 346, 345] } ], "sources": [ @@ -95625,9 +92671,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 370 - ] + "children": [370] } ], "sources": [ @@ -95825,17 +92869,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 349, - 356, - 353, - 351, - 354, - 355, - 348, - 350, - 352 - ] + "children": [349, 356, 353, 351, 354, 355, 348, 350, 352] } ], "sources": [ @@ -95927,11 +92961,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -95972,9 +93002,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372 - ] + "children": [372] } ], "sources": [ @@ -96090,12 +93118,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 366, - 368, - 367 - ] + "children": [365, 366, 368, 367] } ], "sources": [ @@ -96158,10 +93181,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 358, - 359 - ] + "children": [358, 359] } ], "sources": [ @@ -96223,32 +93243,17 @@ { "title": "Classes", "kind": 128, - "children": [ - 381, - 249, - 376, - 394 - ] + "children": [381, 249, 376, 394] }, { "title": "Interfaces", "kind": 256, - "children": [ - 340, - 369, - 347, - 360, - 371, - 364, - 357 - ] + "children": [340, 369, 347, 360, 371, 364, 357] }, { "title": "Functions", "kind": 64, - "children": [ - 373 - ] + "children": [373] } ], "sources": [ @@ -96507,9 +93512,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 48 - ] + "children": [48] } ] } @@ -96586,10 +93589,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 50, - 51 - ] + "children": [50, 51] } ] } @@ -96645,10 +93645,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 53, - 54 - ] + "children": [53, 54] } ] } @@ -96762,9 +93759,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86 - ] + "children": [86] } ] } @@ -96793,10 +93788,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 87 - ] + "children": [84, 87] } ] } @@ -96852,10 +93844,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 89, - 90 - ] + "children": [89, 90] } ] } @@ -96969,9 +93958,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 75 - ] + "children": [75] } ] } @@ -97000,10 +93987,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 73, - 76 - ] + "children": [73, 76] } ] } @@ -97059,10 +94043,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 78, - 79 - ] + "children": [78, 79] } ] } @@ -97173,10 +94154,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 38, - 39 - ] + "children": [38, 39] } ] } @@ -97232,10 +94210,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 42 - ] + "children": [41, 42] } ] } @@ -97333,10 +94308,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 29, - 30 - ] + "children": [29, 30] } ] } @@ -97392,10 +94364,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 32, - 33 - ] + "children": [32, 33] } ] } @@ -97489,9 +94458,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 60 - ] + "children": [60] } ] } @@ -97558,9 +94525,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 64 - ] + "children": [64] } ] } @@ -97589,10 +94554,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 62, - 65 - ] + "children": [62, 65] } ] } @@ -97648,10 +94610,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 67, - 68 - ] + "children": [67, 68] } ] } @@ -97671,21 +94630,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 4 - ] + "children": [4] }, { "title": "Methods", "kind": 2048, - "children": [ - 43, - 80, - 69, - 34, - 26, - 55 - ] + "children": [43, 80, 69, 34, 26, 55] } ], "sources": [ @@ -97708,9 +94658,7 @@ { "title": "Classes", "kind": 128, - "children": [ - 3 - ] + "children": [3] } ], "sources": [ @@ -98015,9 +94963,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 176 - ] + "children": [176] } ] } @@ -98046,10 +94992,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 174, - 177 - ] + "children": [174, 177] } ] } @@ -98105,10 +95048,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 179, - 180 - ] + "children": [179, 180] } ] } @@ -98236,9 +95176,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 188 - ] + "children": [188] } ] } @@ -98267,10 +95205,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 186, - 189 - ] + "children": [186, 189] } ] } @@ -98326,10 +95261,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 191, - 192 - ] + "children": [191, 192] } ] } @@ -98516,11 +95448,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 200, - 201, - 202 - ] + "children": [200, 201, 202] } ] } @@ -98550,10 +95478,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 198, - 203 - ] + "children": [198, 203] } ] } @@ -98609,10 +95534,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 205, - 206 - ] + "children": [205, 206] } ] } @@ -98724,10 +95646,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 211, - 212 - ] + "children": [211, 212] } ] } @@ -98783,10 +95702,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 214, - 215 - ] + "children": [214, 215] } ] } @@ -98894,9 +95810,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 222 - ] + "children": [222] } ] } @@ -98907,9 +95821,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 220 - ] + "children": [220] } ] } @@ -99074,12 +95986,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 366, - 368, - 367 - ] + "children": [365, 366, 368, 367] } ], "sources": [ @@ -99141,9 +96048,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 370 - ] + "children": [370] } ], "sources": [ @@ -99217,10 +96122,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 238, - 239 - ] + "children": [238, 239] } ] } @@ -99276,10 +96178,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 241, - 242 - ] + "children": [241, 242] } ] } @@ -99407,9 +96306,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 164 - ] + "children": [164] } ] } @@ -99438,10 +96335,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 162, - 165 - ] + "children": [162, 165] } ] } @@ -99497,10 +96391,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 167, - 168 - ] + "children": [167, 168] } ] } @@ -99617,10 +96508,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 227, - 228 - ] + "children": [227, 228] } ] } @@ -99676,10 +96564,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 230, - 231 - ] + "children": [230, 231] } ] } @@ -99906,11 +96791,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -99984,9 +96865,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 152 - ] + "children": [152] } ] } @@ -100015,10 +96894,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 150, - 153 - ] + "children": [150, 153] } ] } @@ -100074,10 +96950,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 155, - 156 - ] + "children": [155, 156] } ] } @@ -100304,11 +97177,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -100382,9 +97251,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 139 - ] + "children": [139] } ] } @@ -100413,10 +97280,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 137, - 140 - ] + "children": [137, 140] } ] } @@ -100472,10 +97336,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 142, - 143 - ] + "children": [142, 143] } ] } @@ -100495,25 +97356,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 93 - ] + "children": [93] }, { "title": "Methods", "kind": 2048, - "children": [ - 169, - 181, - 193, - 207, - 216, - 232, - 157, - 223, - 144, - 131 - ] + "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131] } ], "sources": [ @@ -100529,9 +97377,7 @@ { "title": "Classes", "kind": 128, - "children": [ - 92 - ] + "children": [92] } ], "sources": [ @@ -100547,11 +97393,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 2, - 91 - ] + "children": [1, 2, 91] } ] }, @@ -100814,10 +97656,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 49, - 48 - ] + "children": [49, 48] } ] } @@ -101193,10 +98032,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 37 - ] + "children": [41, 37] } ], "sources": [ @@ -101287,26 +98123,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 43 - ] + "children": [43] }, { "title": "Properties", "kind": 1024, - "children": [ - 56, - 55, - 54 - ] + "children": [56, 55, 54] }, { "title": "Methods", "kind": 2048, - "children": [ - 64, - 61 - ] + "children": [64, 61] } ], "sources": [ @@ -101322,20 +98149,12 @@ { "title": "References", "kind": 16777216, - "children": [ - 69, - 70, - 71, - 72, - 73 - ] + "children": [69, 70, 71, 72, 73] }, { "title": "Classes", "kind": 128, - "children": [ - 42 - ] + "children": [42] } ], "sources": [ @@ -101457,16 +98276,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 14 - ] + "children": [14] }, { "title": "Properties", "kind": 1024, - "children": [ - 19 - ] + "children": [19] } ], "sources": [ @@ -101588,16 +98403,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 21 - ] + "children": [21] }, { "title": "Properties", "kind": 1024, - "children": [ - 24 - ] + "children": [24] } ], "sources": [ @@ -101701,16 +98512,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 31 - ] + "children": [31] }, { "title": "Properties", "kind": 1024, - "children": [ - 34 - ] + "children": [34] } ], "sources": [ @@ -101814,16 +98621,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 26 - ] + "children": [26] }, { "title": "Properties", "kind": 1024, - "children": [ - 29 - ] + "children": [29] } ], "sources": [ @@ -101889,10 +98692,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 9, - 10 - ] + "children": [9, 10] } ], "sources": [ @@ -101955,10 +98755,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 5, - 6 - ] + "children": [5, 6] } ], "sources": [ @@ -102170,10 +98967,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 37 - ] + "children": [41, 37] } ], "sources": [ @@ -102236,29 +99030,17 @@ { "title": "Classes", "kind": 128, - "children": [ - 13, - 20, - 30, - 25 - ] + "children": [13, 20, 30, 25] }, { "title": "Interfaces", "kind": 256, - "children": [ - 8, - 4 - ] + "children": [8, 4] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 3, - 35, - 11 - ] + "children": [3, 35, 11] } ], "sources": [ @@ -102274,10 +99056,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 2 - ] + "children": [1, 2] } ] } diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/spec/enrichments/tsdoc_v2/functions_dereferenced.json index 1114b1bd1ec..63b21bab8a0 100644 --- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json @@ -257,10 +257,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 49, - 48 - ] + "children": [49, 48] } ] } @@ -636,10 +633,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 37 - ] + "children": [41, 37] } ], "sources": [ @@ -730,26 +724,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 43 - ] + "children": [43] }, { "title": "Properties", "kind": 1024, - "children": [ - 56, - 55, - 54 - ] + "children": [56, 55, 54] }, { "title": "Methods", "kind": 2048, - "children": [ - 64, - 61 - ] + "children": [64, 61] } ], "sources": [ @@ -765,20 +750,12 @@ { "title": "References", "kind": 16777216, - "children": [ - 69, - 70, - 71, - 72, - 73 - ] + "children": [69, 70, 71, 72, 73] }, { "title": "Classes", "kind": 128, - "children": [ - 42 - ] + "children": [42] } ], "sources": [ @@ -900,16 +877,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 14 - ] + "children": [14] }, { "title": "Properties", "kind": 1024, - "children": [ - 19 - ] + "children": [19] } ], "sources": [ @@ -1031,16 +1004,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 21 - ] + "children": [21] }, { "title": "Properties", "kind": 1024, - "children": [ - 24 - ] + "children": [24] } ], "sources": [ @@ -1144,16 +1113,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 31 - ] + "children": [31] }, { "title": "Properties", "kind": 1024, - "children": [ - 34 - ] + "children": [34] } ], "sources": [ @@ -1257,16 +1222,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 26 - ] + "children": [26] }, { "title": "Properties", "kind": 1024, - "children": [ - 29 - ] + "children": [29] } ], "sources": [ @@ -1332,10 +1293,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 9, - 10 - ] + "children": [9, 10] } ], "sources": [ @@ -1398,10 +1356,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 5, - 6 - ] + "children": [5, 6] } ], "sources": [ @@ -1613,10 +1568,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 37 - ] + "children": [41, 37] } ], "sources": [ @@ -1679,29 +1631,17 @@ { "title": "Classes", "kind": 128, - "children": [ - 13, - 20, - 30, - 25 - ] + "children": [13, 20, 30, 25] }, { "title": "Interfaces", "kind": 256, - "children": [ - 8, - 4 - ] + "children": [8, 4] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 3, - 35, - 11 - ] + "children": [3, 35, 11] } ], "sources": [ @@ -1717,10 +1657,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 2 - ] + "children": [1, 2] } ] -} \ No newline at end of file +} diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json index 1d3d6c68861..271a15c6288 100644 --- a/spec/enrichments/tsdoc_v2/gotrue.json +++ b/spec/enrichments/tsdoc_v2/gotrue.json @@ -1,11003 +1,9784 @@ { - "id": 0, - "name": "@supabase/gotrue-js", - "kind": 1, - "kindString": "Project", - "flags": { - - }, - "originalName": "", - "children": [ - { - "id": 499, - "name": "AuthApiError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 500, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 17, - "character": 2 - } - ], - "signatures": [ - { - "id": 501, - "name": "new AuthApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 502, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 503, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 499, - "name": "AuthApiError" - }, - "overwrites": { - "type": "reference", - "id": 496, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 495, - "name": "AuthError.constructor" - } - }, - { - "id": 504, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 505, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 23, - "character": 2 - } - ], - "signatures": [ - { - "id": 506, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 507, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 509, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 26, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 508, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 510, - "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": [ - 509, - 508, - 510 - ] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 500 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 504 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 505 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 494, - "name": "AuthError" - } - ] - }, - { - "id": 494, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 495, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 2 - } - ], - "signatures": [ - { - "id": 496, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 497, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 495 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 1, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 512, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - } - ] - }, - { - "id": 559, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 560, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 74, - "character": 2 - } - ], - "signatures": [ - { - "id": 561, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 562, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 563, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 564, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 566, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 74, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 565, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 74, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 566, - 565 - ] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 559, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 521, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 520, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 567, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 568, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 570, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 569, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 570, - 569 - ] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 581, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 525, - "name": "CustomAuthError.name" - } - }, - { - "id": 582, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 526, - "name": "CustomAuthError.status" - } - }, - { - "id": 571, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 79, - "character": 2 - } - ], - "signatures": [ - { - "id": 572, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 573, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 577, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 84, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 578, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 580, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 579, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 73, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 580, - 579 - ] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 575, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 82, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 574, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 81, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 576, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 577, - 575, - 574, - 576 - ] - } - ] - } - }, - "overwrites": { - "type": "reference", - "id": 528, - "name": "CustomAuthError.toJSON" - } - } - ], - "overwrites": { - "type": "reference", - "id": 527, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 560 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 567, - 581, - 582 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 571 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 72, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - } - ] - }, - { - "id": 546, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 547, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2 - } - ], - "signatures": [ - { - "id": 548, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 549, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 546, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 521, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 520, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 550, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 525, - "name": "CustomAuthError.name" - } - }, - { - "id": 551, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 526, - "name": "CustomAuthError.status" - } - }, - { - "id": 552, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 553, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 554, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 556, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 54, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 555, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 53, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 557, - "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": [ - 556, - 555, - 557 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 528, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 527, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 547 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 550, - 551 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 552 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - } - ] - }, - { - "id": 584, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 585, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 586, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 587, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 588, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 584, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 521, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 520, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 589, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 525, - "name": "CustomAuthError.name" - } - }, - { - "id": 590, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 526, - "name": "CustomAuthError.status" - } - }, - { - "id": 591, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 592, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 593, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 595, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 54, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 594, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 53, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 596, - "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": [ - 595, - 594, - 596 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 528, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 527, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 585 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 589, - 590 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 591 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - } - ] - }, - { - "id": 534, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 535, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 61, - "character": 2 - } - ], - "signatures": [ - { - "id": 536, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "type": { - "type": "reference", - "id": 534, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 521, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 520, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 537, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 525, - "name": "CustomAuthError.name" - } - }, - { - "id": 538, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 526, - "name": "CustomAuthError.status" - } - }, - { - "id": 539, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 540, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 541, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 543, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 54, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 542, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 53, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 544, - "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": [ - 543, - 542, - 544 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 528, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 527, - "name": "CustomAuthError.toJSON" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 535 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 537, - 538 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 539 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 60, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - } - ] - }, - { - "id": 512, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 513, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 35, - "character": 2 - } - ], - "signatures": [ - { - "id": 514, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 515, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 512, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 496, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 495, - "name": "AuthError.constructor" - } - }, - { - "id": 517, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 513 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 517 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 32, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 494, - "name": "AuthError" - } - ] - }, - { - "id": 519, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 520, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 45, - "character": 2 - } - ], - "signatures": [ - { - "id": 521, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 522, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 523, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 524, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 519, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 496, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 495, - "name": "AuthError.constructor" - } - }, - { - "id": 525, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "name": "AuthError.name" - } - }, - { - "id": 526, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 527, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 528, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 529, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 531, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 54, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 530, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 53, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 532, - "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": [ - 531, - 530, - 532 - ] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 520 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 525, - 526 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 527 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 42, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 494, - "name": "AuthError" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 534, - "name": "AuthSessionMissingError" - }, - { - "type": "reference", - "id": 546, - "name": "AuthInvalidCredentialsError" - }, - { - "type": "reference", - "id": 559, - "name": "AuthImplicitGrantRedirectError" - }, - { - "type": "reference", - "id": 584, - "name": "AuthRetryableFetchError" - } - ] - }, - { - "id": 1, - "name": "GoTrueAdminApi", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 19, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new GoTrueAdminApi", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "parameters": [ - { - "id": 4, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 11, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 15, - "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": 7, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 25, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "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" - } - } - } - } - }, - { - "id": 6, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 24, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 11, - 7, - 6 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 41, - "name": "createUser", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 126, - "character": 8 - } - ], - "signatures": [ - { - "id": 42, - "name": "createUser", - "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." - }, - "parameters": [ - { - "id": 43, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 343, - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 63, - "name": "deleteUser", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 216, - "character": 8 - } - ], - "signatures": [ - { - "id": 64, - "name": "deleteUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Delete a user. Requires a `service_role` key." - }, - "parameters": [ - { - "id": 65, - "name": "id", - "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": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 38, - "name": "generateLink", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 92, - "character": 8 - } - ], - "signatures": [ - { - "id": 39, - "name": "generateLink", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Generates email links and OTPs to be sent via a custom email provider." - }, - "parameters": [ - { - "id": 40, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 458, - "name": "GenerateLinkParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 459, - "name": "GenerateLinkResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 56, - "name": "getUserById", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 171, - "character": 8 - } - ], - "signatures": [ - { - "id": 57, - "name": "getUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Get user by id." - }, - "parameters": [ - { - "id": 58, - "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": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 31, - "name": "inviteUserByEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 62, - "character": 8 - } - ], - "signatures": [ - { - "id": 32, - "name": "inviteUserByEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Sends an invite link to an email address." - }, - "parameters": [ - { - "id": 33, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 34, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 35, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 37, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata\n" - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 66, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 36, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile deeplink to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 65, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 37, - 36 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 44, - "name": "listUsers", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 147, - "character": 8 - } - ], - "signatures": [ - { - "id": 45, - "name": "listUsers", - "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" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 46, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 47, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 48, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 49, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 14 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 310, - "name": "User" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 49 - ] - } - ] - } - } - }, - { - "id": 50, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 31 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 47, - 50 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 51, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 52, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 49 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 53, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 54, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 57 - } - ], - "type": { - "type": "tuple" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 54 - ] - } - ] - } - } - }, - { - "id": 55, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 148, - "character": 70 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 52, - 55 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 26, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 39, - "character": 8 - } - ], - "signatures": [ - { - "id": 27, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Removes a logged-in session." - }, - "parameters": [ - { - "id": 28, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "comment": { - "shortText": "A valid, logged-in JWT.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 29, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 30, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 39, - "character": 40 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 494, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 30 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 59, - "name": "updateUserById", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 193, - "character": 8 - } - ], - "signatures": [ - { - "id": 60, - "name": "updateUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 61, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 62, - "name": "attributes", - "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" - }, - "type": { - "type": "reference", - "id": 343, - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 2 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 41, - 63, - 38, - 56, - 31, - 44, - 26, - 59 - ] - } - ], - "sources": [ - { - "fileName": "src/GoTrueAdminApi.ts", - "line": 12, - "character": 21 - } - ] - }, - { - "id": 66, - "name": "GoTrueClient", - "kind": 128, - "kindString": "Class", - "flags": { - - }, - "children": [ - { - "id": 67, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 104, - "character": 2 - } - ], - "signatures": [ - { - "id": 68, - "name": "new GoTrueClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - - }, - "comment": { - "shortText": "Create a new client for use in the browser." - }, - "parameters": [ - { - "id": 69, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 241, - "name": "GoTrueClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 66, - "name": "default" - } - } - ] - }, - { - "id": 70, - "name": "admin", - "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." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - { - "id": 111, - "name": "getSession", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 407, - "character": 8 - } - ], - "signatures": [ - { - "id": 112, - "name": "getSession", - "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." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 114, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 409, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 115, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 116, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 410, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 291, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 116 - ] - } - ] - } - } - }, - { - "id": 117, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 412, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 114, - 117 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 119, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 415, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 120, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 121, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 416, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 121 - ] - } - ] - } - } - }, - { - "id": 122, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 418, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 119, - 122 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 123, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 124, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 421, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 125, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 126, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 422, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 126 - ] - } - ] - } - } - }, - { - "id": 127, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 424, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 124, - 127 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 128, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 470, - "character": 8 - } - ], - "signatures": [ - { - "id": 129, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Gets the current user details if there is an existing session." - }, - "parameters": [ - { - "id": 130, - "name": "jwt", - "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" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 92, - "name": "initialize", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 130, - "character": 2 - } - ], - "signatures": [ - { - "id": 93, - "name": "initialize", - "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)." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 481, - "name": "InitializeResult" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 157, - "name": "onAuthStateChange", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 665, - "character": 2 - } - ], - "signatures": [ - { - "id": 158, - "name": "onAuthStateChange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Receive a notification every time an auth event happens." - }, - "parameters": [ - { - "id": 159, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "comment": { - "shortText": "A callback function to be invoked when an auth event happens.\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 160, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "signatures": [ - { - "id": 161, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "parameters": [ - { - "id": 162, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 240, - "name": "AuthChangeEvent" - } - }, - { - "id": 163, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 291, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 666, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 167, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 666, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 352, - "name": "Subscription" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 167 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 165 - ] - } - ] - } - } - } - ] - }, - { - "id": 168, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 688, - "character": 8 - } - ], - "signatures": [ - { - "id": 169, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Sends a password reset request to an email address." - }, - "parameters": [ - { - "id": 170, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 171, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reflection", - "declaration": { - "id": 172, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 174, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site.\n" - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 692, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 173, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The URL to send the user to after they click the password reset link." - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 691, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 174, - 173 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 175, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 176, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 696, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 177, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - } - } - } - }, - { - "id": 178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 697, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 176, - 178 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 179, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 180, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 699, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 181, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 699, - "character": 20 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 180, - 181 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 134, - "name": "setSession", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 534, - "character": 8 - } - ], - "signatures": [ - { - "id": 135, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid." - }, - "parameters": [ - { - "id": 136, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "comment": { - "shortText": "A refresh token returned by supabase auth.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 254, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 102, - "name": "signInWithOAuth", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 306, - "character": 8 - } - ], - "signatures": [ - { - "id": 103, - "name": "signInWithOAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Log in an existing user via a third-party provider." - }, - "parameters": [ - { - "id": 104, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 403, - "name": "SignInWithOAuthCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 267, - "name": "OAuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 105, - "name": "signInWithOtp", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 321, - "character": 8 - } - ], - "signatures": [ - { - "id": 106, - "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": 107, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 389, - "name": "SignInWithPasswordlessCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 254, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 99, - "name": "signInWithPassword", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 256, - "character": 8 - } - ], - "signatures": [ - { - "id": 100, - "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": 101, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 376, - "name": "SignInWithPasswordCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 254, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 153, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 646, - "character": 8 - } - ], - "signatures": [ - { - "id": 154, - "name": "signOut", - "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" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 155, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 156, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 646, - "character": 29 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 494, - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 156 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 96, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 193, - "character": 8 - } - ], - "signatures": [ - { - "id": 97, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Creates a new user.", - "returns": "A logged-in session if the server has \"autoconfirm\" ON" - }, - "parameters": [ - { - "id": 98, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 360, - "name": "SignUpWithPasswordCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 254, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 131, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 499, - "character": 8 - } - ], - "signatures": [ - { - "id": 132, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Updates user data, if there is a logged in user." - }, - "parameters": [ - { - "id": 133, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 338, - "name": "UserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 280, - "name": "UserResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 108, - "name": "verifyOtp", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 363, - "character": 8 - } - ], - "signatures": [ - { - "id": 109, - "name": "verifyOtp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "Log in a user given a User supplied OTP received via mobile." - }, - "parameters": [ - { - "id": 110, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 414, - "name": "VerifyOtpParams" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 254, - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 67 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 70 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 111, - 128, - 92, - 157, - 168, - 134, - 102, - 105, - 99, - 153, - 96, - 131, - 108 - ] - } - ], - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 63, - "character": 21 - } - ] - }, - { - "id": 343, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 345, - "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": 205, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 351, - "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": 180, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 342, - "name": "UserAttributes.data" - } - }, - { - "id": 348, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 339, - "name": "UserAttributes.email" - } - }, - { - "id": 346, - "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": 212, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 350, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 341, - "name": "UserAttributes.password" - } - }, - { - "id": 349, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 340, - "name": "UserAttributes.phone" - } - }, - { - "id": 347, - "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": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 344, - "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": 195, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 338, - "name": "UserAttributes" - } - ] - }, - { - "id": 455, - "name": "GenerateLinkOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 456, - "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": 402, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 457, - "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": 404, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 456, - 457 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 396, - "character": 17 - } - ] - }, - { - "id": 291, - "name": "Session", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 293, - "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": 101, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 296, - "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": 113, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 295, - "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": 109, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 292, - "name": "provider_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 97, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 294, - "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": 105, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 297, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 298, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 310, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 293, - 296, - 295, - 292, - 294, - 297, - 298 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 96, - "character": 17 - } - ] - }, - { - "id": 352, - "name": "Subscription", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 353, - "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": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 354, - "name": "callback", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "signatures": [ - { - "id": 355, - "name": "callback", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "comment": { - "shortText": "The function to call every time there is an event. eg: (eventName) => {}" - }, - "parameters": [ - { - "id": 356, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "reference", - "id": 240, - "name": "AuthChangeEvent" - } - }, - { - "id": 357, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 291, - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 358, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 234, - "character": 2 - } - ], - "signatures": [ - { - "id": 359, - "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": [ - 353 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 354, - 358 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 17 - } - ] - }, - { - "id": 310, - "name": "User", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 327, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 312, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 313, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 314, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 314 - ] - } - ], - "indexSignature": { - "id": 315, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - - }, - "parameters": [ - { - "id": 316, - "name": "key", - "kind": 32768, - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 321, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 139, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 322, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 140, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 331, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 330, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 148, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 328, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 324, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 142, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 332, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 311, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 337, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 155, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 299, - "name": "UserIdentity" - } - } - }, - { - "id": 326, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 144, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 334, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 152, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 325, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 143, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 329, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 333, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 323, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 141, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 335, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 153, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 336, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 317, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 136, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 318, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "indexSignature": { - "id": 319, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - - }, - "parameters": [ - { - "id": 320, - "name": "key", - "kind": 32768, - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 327, - 312, - 321, - 322, - 331, - 330, - 328, - 324, - 332, - 311, - 337, - 326, - 334, - 325, - 329, - 333, - 323, - 335, - 336, - 317 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 130, - "character": 17 - } - ] - }, - { - "id": 338, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 342, - "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": 180, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 339, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 162, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 341, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 172, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 340, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 342, - 339, - 341, - 340 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 158, - "character": 17 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 343, - "name": "AdminUserAttributes" - } - ] - }, - { - "id": 299, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 307, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 300, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 302, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 121, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 303, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "indexSignature": { - "id": 304, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - - }, - "parameters": [ - { - "id": 305, - "name": "key", - "kind": 32768, - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 308, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 306, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 309, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 301, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 120, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 307, - 300, - 302, - 308, - 306, - 309, - 301 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 118, - "character": 17 - } - ] - }, - { - "id": 423, - "name": "VerifyEmailOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 424, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 427, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "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": 357, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 429, - "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": 355, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 430, - 429 - ] - } - ] - } - } - }, - { - "id": 425, - "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": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 426, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's verification type." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 432, - "name": "EmailOtpType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 424, - 427, - 425, - 426 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 17 - } - ] - }, - { - "id": 415, - "name": "VerifyMobileOtpParams", - "kind": 256, - "kindString": "Interface", - "flags": { - - }, - "children": [ - { - "id": 419, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 420, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 422, - "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": 343, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 421, - "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": 341, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 422, - 421 - ] - } - ] - } - } - }, - { - "id": 416, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 334, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 417, - "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": 336, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 418, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's verification type." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 338, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 431, - "name": "MobileOtpType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 419, - 416, - 417, - 418 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 332, - "character": 17 - } - ] - }, - { - "id": 240, - "name": "AuthChangeEvent", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 23, - "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" - } - ] - } - }, - { - "id": 254, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 50, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 255, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 256, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 257, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 259, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 54, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 291, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 258, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 310, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 259, - 258 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 12 - } - ] - } - } - }, - { - "id": 260, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 256, - 260 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 261, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 262, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 59, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 263, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 265, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 61, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 264, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 265, - 264 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 59, - "character": 12 - } - ] - } - } - }, - { - "id": 266, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 63, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 262, - 266 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 58, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 484, - "name": "CallRefreshTokenResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 472, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 487, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 475, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 486, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 474, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 291, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 487, - 486 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 473, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 488, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 490, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 479, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - }, - { - "id": 489, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 478, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 490, - 489 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 477, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 432, - "name": "EmailOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "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": 449, - "name": "GenerateEmailChangeLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 385, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 450, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 452, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 388, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "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": 392, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 454, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 393, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 455, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 451, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 386, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "email_change_current" - }, - { - "type": "literal", - "value": "email_change_new" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 452, - 453, - 454, - 451 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 385, - "character": 44 - } - ] - } - } - }, - { - "id": 439, - "name": "GenerateInviteOrMagiclinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 371, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 442, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 374, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 443, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 375, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 455, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 441, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 372, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "invite" - }, - { - "type": "literal", - "value": "magiclink" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 442, - 443, - 441 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 371, - "character": 46 - } - ] - } - } - }, - { - "id": 458, - "name": "GenerateLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 407, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 433, - "name": "GenerateSignupLinkParams" - }, - { - "type": "reference", - "id": 439, - "name": "GenerateInviteOrMagiclinkParams" - }, - { - "type": "reference", - "id": 444, - "name": "GenerateRecoveryLinkParams" - }, - { - "type": "reference", - "id": 449, - "name": "GenerateEmailChangeLinkParams" - } - ] - } - }, - { - "id": 472, - "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": 430, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 473, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 474, - "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": 435, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 475, - "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": 440, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 476, - "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": 444, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 477, - "name": "redirect_to", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The URL appended to the action link." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 446, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 478, - "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": 448, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 479, - "name": "GenerateLinkType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 474, - 475, - 476, - 477, - 478 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 430, - "character": 37 - } - ] - } - } - }, - { - "id": 459, - "name": "GenerateLinkResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 413, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 461, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 415, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 462, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 463, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 416, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 472, - "name": "GenerateLinkProperties" - } - }, - { - "id": 464, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 417, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 310, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 463, - 464 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 415, - "character": 12 - } - ] - } - } - }, - { - "id": 465, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 419, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 461, - 465 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 414, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 466, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 467, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 422, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 468, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 469, - "name": "properties", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 423, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 470, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 424, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 469, - 470 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 422, - "character": 12 - } - ] - } - } - }, - { - "id": 471, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 426, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 467, - 471 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 421, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 479, - "name": "GenerateLinkType", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 451, - "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": 444, - "name": "GenerateRecoveryLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 378, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 445, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 447, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 381, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 382, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 455, - "name": "GenerateLinkOptions" - }, - { - "type": "literal", - "value": "redirectTo" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 446, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 379, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "recovery" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 447, - 448, - 446 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 378, - "character": 41 - } - ] - } - } - }, - { - "id": 433, - "name": "GenerateSignupLinkParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 364, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 434, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 436, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 366, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 438, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 368, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 455, - "name": "GenerateLinkOptions" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "data" - }, - { - "type": "literal", - "value": "redirectTo" - } - ] - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 437, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 367, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 435, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 365, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "signup" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 436, - 438, - 437, - 435 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 364, - "character": 39 - } - ] - } - } - }, - { - "id": 241, - "name": "GoTrueClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 31, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 242, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 250, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 41, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 249, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 39, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 253, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 244, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 245, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 12 - } - ], - "indexSignature": { - "id": 246, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - - }, - "parameters": [ - { - "id": 247, - "name": "key", - "kind": 32768, - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 251, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 252, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "SupportedStorage" - } - }, - { - "id": 248, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 37, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 243, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 250, - 249, - 253, - 244, - 251, - 252, - 248, - 243 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 31, - "character": 34 - } - ] - } - } - }, - { - "id": 481, - "name": "InitializeResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 470, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 482, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 483, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 470, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 494, - "name": "AuthError" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 483 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 470, - "character": 31 - } - ] - } - } - }, - { - "id": 431, - "name": "MobileOtpType", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - }, - { - "id": 267, - "name": "OAuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 268, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 269, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 270, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 271, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 69, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 239, - "name": "Provider" - } - }, - { - "id": 272, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 271, - 272 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 12 - } - ] - } - } - }, - { - "id": 273, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 269, - 273 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 275, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 75, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 276, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 277, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 76, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 239, - "name": "Provider" - } - }, - { - "id": 278, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 77, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 277, - 278 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 75, - "character": 12 - } - ] - } - } - }, - { - "id": 279, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 79, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 275, - 279 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 74, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 239, - "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": 403, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 318, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 404, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 406, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 321, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 407, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 410, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "An object of query params" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 327, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 411, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 327, - "character": 18 - } - ], - "indexSignature": { - "id": 412, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - - }, - "parameters": [ - { - "id": 413, - "name": "key", - "kind": 32768, - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 408, - "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": 323, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "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": 325, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 410, - 408, - 409 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 321, - "character": 12 - } - ] - } - } - }, - { - "id": 405, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 320, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 239, - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 406, - 405 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 318, - "character": 41 - } - ] - } - } - }, - { - "id": 376, - "name": "SignInWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 272, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 377, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 378, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 275, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 380, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 278, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 381, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 382, - "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": 280, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 382 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 278, - "character": 16 - } - ] - } - } - }, - { - "id": 379, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 277, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 378, - 380, - 379 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 273, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 383, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 386, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 288, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 388, - "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": 290, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 388 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 288, - "character": 16 - } - ] - } - } - }, - { - "id": 385, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 287, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 384, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 285, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 386, - 385, - 384 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 283, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 389, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 294, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 390, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 391, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 396, - "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": 304, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "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": 300, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 395, - "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": 302, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 396, - 394, - 395 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 16 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 391, - 392 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 295, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 397, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 399, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 310, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 400, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 402, - "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": 314, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 401, - "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": 312, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 402, - 401 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 310, - "character": 16 - } - ] - } - } - }, - { - "id": 398, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 309, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 399, - 398 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 307, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 360, - "name": "SignUpWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 237, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 361, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 362, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 240, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 364, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 243, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 365, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 368, - "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": 253, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 367, - "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": 251, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 366, - "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": 245, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 368, - 367, - 366 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 243, - "character": 16 - } - ] - } - } - }, - { - "id": 363, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 242, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 362, - 364, - 363 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 238, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 369, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 372, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 261, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 373, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 375, - "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": 269, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 374, - "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": 267, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 375, - 374 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 261, - "character": 16 - } - ] - } - } - }, - { - "id": 371, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 260, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 370, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 258, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 372, - 371, - 370 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 256, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 480, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 468, - "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": 280, - "name": "UserResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 281, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 282, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 84, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 283, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 284, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 85, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 310, - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 284 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 84, - "character": 12 - } - ] - } - } - }, - { - "id": 285, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 87, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 282, - 285 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 83, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 286, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 287, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 288, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - - }, - "children": [ - { - "id": 289, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 91, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 289 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 90, - "character": 12 - } - ] - } - } - }, - { - "id": 290, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 93, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 287, - 290 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 89, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 414, - "name": "VerifyOtpParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 331, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 415, - "name": "VerifyMobileOtpParams" - }, - { - "type": "reference", - "id": 423, - "name": "VerifyEmailOtpParams" - } - ] - } - }, - { - "id": 491, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": { - - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 492, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - - }, - "parameters": [ - { - "id": 493, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": { - - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 494, - "name": "AuthError" - } - } - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 499, - 494, - 559, - 546, - 584, - 534, - 512, - 519, - 1, - 66 - ] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [ - 343, - 455, - 291, - 352, - 310, - 338, - 299, - 423, - 415 - ] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 240, - 254, - 484, - 432, - 449, - 439, - 458, - 472, - 459, - 479, - 444, - 433, - 241, - 481, - 431, - 267, - 239, - 403, - 376, - 389, - 360, - 480, - 280, - 414 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [ - 491 - ] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] - } \ No newline at end of file + "id": 0, + "name": "@supabase/gotrue-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 499, + "name": "AuthApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 500, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "signatures": [ + { + "id": 501, + "name": "new AuthApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 502, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 503, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 504, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 505, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2 + } + ], + "signatures": [ + { + "id": 506, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 507, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 509, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 508, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 510, + "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": [509, 508, 510] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [500] + }, + { + "title": "Properties", + "kind": 1024, + "children": [504] + }, + { + "title": "Methods", + "kind": 2048, + "children": [505] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 494, + "name": "AuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 495, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2 + } + ], + "signatures": [ + { + "id": 496, + "name": "new AuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 497, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [495] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 499, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 559, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 560, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 2 + } + ], + "signatures": [ + { + "id": 561, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 562, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 564, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 566, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 565, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 74, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [566, 565] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 567, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 570, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 569, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [570, 569] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 581, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 582, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 571, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 79, + "character": 2 + } + ], + "signatures": [ + { + "id": 572, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 573, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 577, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 578, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 580, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 579, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 73, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [580, 579] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 575, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 574, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 81, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 576, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [577, 575, 574, 576] + } + ] + } + }, + "overwrites": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "overwrites": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [560] + }, + { + "title": "Properties", + "kind": 1024, + "children": [567, 581, 582] + }, + { + "title": "Methods", + "kind": 2048, + "children": [571] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 72, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 546, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 547, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 548, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 549, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 550, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 551, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 552, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 553, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 554, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 556, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 555, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 557, + "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": [556, 555, 557] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [547] + }, + { + "title": "Properties", + "kind": 1024, + "children": [550, 551] + }, + { + "title": "Methods", + "kind": 2048, + "children": [552] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 584, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 585, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 586, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 587, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 588, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 589, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 590, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 591, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 592, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 593, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 595, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 594, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 596, + "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": [595, 594, 596] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [585] + }, + { + "title": "Properties", + "kind": 1024, + "children": [589, 590] + }, + { + "title": "Methods", + "kind": 2048, + "children": [591] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 534, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 535, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 61, + "character": 2 + } + ], + "signatures": [ + { + "id": 536, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 521, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 520, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 537, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 525, + "name": "CustomAuthError.name" + } + }, + { + "id": 538, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 526, + "name": "CustomAuthError.status" + } + }, + { + "id": 539, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 540, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 541, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 543, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 542, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 544, + "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": [543, 542, 544] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 528, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 527, + "name": "CustomAuthError.toJSON" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [535] + }, + { + "title": "Properties", + "kind": 1024, + "children": [537, 538] + }, + { + "title": "Methods", + "kind": 2048, + "children": [539] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 60, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + } + ] + }, + { + "id": 512, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 513, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 514, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 515, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 516, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 517, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [513] + }, + { + "title": "Properties", + "kind": 1024, + "children": [517] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + }, + { + "id": 519, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 520, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 521, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 522, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 523, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 519, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 496, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 495, + "name": "AuthError.constructor" + } + }, + { + "id": 525, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "AuthError.name" + } + }, + { + "id": 526, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 527, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 528, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 529, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 531, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 54, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 530, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 532, + "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": [531, 530, 532] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [520] + }, + { + "title": "Properties", + "kind": 1024, + "children": [525, 526] + }, + { + "title": "Methods", + "kind": 2048, + "children": [527] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 42, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "id": 546, + "name": "AuthInvalidCredentialsError" + }, + { + "type": "reference", + "id": 559, + "name": "AuthImplicitGrantRedirectError" + }, + { + "type": "reference", + "id": 584, + "name": "AuthRetryableFetchError" + } + ] + }, + { + "id": 1, + "name": "GoTrueAdminApi", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new GoTrueAdminApi", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 4, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 11, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 13, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 15, + "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": 7, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "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" + } + } + } + } + }, + { + "id": 6, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [11, 7, 6] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ] + }, + { + "id": 41, + "name": "createUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 126, + "character": 8 + } + ], + "signatures": [ + { + "id": 42, + "name": "createUser", + "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." + }, + "parameters": [ + { + "id": 43, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 343, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 63, + "name": "deleteUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 216, + "character": 8 + } + ], + "signatures": [ + { + "id": 64, + "name": "deleteUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Delete a user. Requires a `service_role` key." + }, + "parameters": [ + { + "id": 65, + "name": "id", + "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": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 38, + "name": "generateLink", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 92, + "character": 8 + } + ], + "signatures": [ + { + "id": 39, + "name": "generateLink", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Generates email links and OTPs to be sent via a custom email provider." + }, + "parameters": [ + { + "id": 40, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 458, + "name": "GenerateLinkParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 459, + "name": "GenerateLinkResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 56, + "name": "getUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 171, + "character": 8 + } + ], + "signatures": [ + { + "id": 57, + "name": "getUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Get user by id." + }, + "parameters": [ + { + "id": 58, + "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": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 31, + "name": "inviteUserByEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 62, + "character": 8 + } + ], + "signatures": [ + { + "id": 32, + "name": "inviteUserByEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends an invite link to an email address." + }, + "parameters": [ + { + "id": 33, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 34, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 35, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 37, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata\n" + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 66, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 36, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile deeplink to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 65, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [37, 36] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 44, + "name": "listUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 147, + "character": 8 + } + ], + "signatures": [ + { + "id": 45, + "name": "listUsers", + "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" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 46, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 47, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 48, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 49, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 14 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 310, + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [49] + } + ] + } + } + }, + { + "id": 50, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 31 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [47, 50] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 51, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 52, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 49 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 54, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 57 + } + ], + "type": { + "type": "tuple" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [54] + } + ] + } + } + }, + { + "id": 55, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 148, + "character": 70 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [52, 55] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 26, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, + "character": 8 + } + ], + "signatures": [ + { + "id": 27, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes a logged-in session." + }, + "parameters": [ + { + "id": 28, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A valid, logged-in JWT.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 29, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 30, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 39, + "character": 40 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [30] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 59, + "name": "updateUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 193, + "character": 8 + } + ], + "signatures": [ + { + "id": 60, + "name": "updateUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 61, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 62, + "name": "attributes", + "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" + }, + "type": { + "type": "reference", + "id": 343, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [2] + }, + { + "title": "Methods", + "kind": 2048, + "children": [41, 63, 38, 56, 31, 44, 26, 59] + } + ], + "sources": [ + { + "fileName": "src/GoTrueAdminApi.ts", + "line": 12, + "character": 21 + } + ] + }, + { + "id": 66, + "name": "GoTrueClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 67, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 104, + "character": 2 + } + ], + "signatures": [ + { + "id": 68, + "name": "new GoTrueClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "parameters": [ + { + "id": 69, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 241, + "name": "GoTrueClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 66, + "name": "default" + } + } + ] + }, + { + "id": 70, + "name": "admin", + "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." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 68, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + }, + { + "id": 111, + "name": "getSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 407, + "character": 8 + } + ], + "signatures": [ + { + "id": 112, + "name": "getSession", + "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." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 113, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 114, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 409, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 116, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 410, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [116] + } + ] + } + } + }, + { + "id": 117, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 412, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [114, 117] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 118, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 119, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 415, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 120, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 121, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 416, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [121] + } + ] + } + } + }, + { + "id": 122, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 418, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [119, 122] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 124, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 421, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 125, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 126, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 422, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [126] + } + ] + } + } + }, + { + "id": 127, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 424, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [124, 127] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 128, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 470, + "character": 8 + } + ], + "signatures": [ + { + "id": 129, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Gets the current user details if there is an existing session." + }, + "parameters": [ + { + "id": 130, + "name": "jwt", + "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" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 92, + "name": "initialize", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 93, + "name": "initialize", + "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)." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 481, + "name": "InitializeResult" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 157, + "name": "onAuthStateChange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 665, + "character": 2 + } + ], + "signatures": [ + { + "id": 158, + "name": "onAuthStateChange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Receive a notification every time an auth event happens." + }, + "parameters": [ + { + "id": 159, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A callback function to be invoked when an auth event happens.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 161, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 162, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 240, + "name": "AuthChangeEvent" + } + }, + { + "id": 163, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 291, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 164, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 165, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 666, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 666, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 352, + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [167] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [165] + } + ] + } + } + } + ] + }, + { + "id": 168, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 8 + } + ], + "signatures": [ + { + "id": 169, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sends a password reset request to an email address." + }, + "parameters": [ + { + "id": 170, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 171, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 172, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 174, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site.\n" + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 692, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 173, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The URL to send the user to after they click the password reset link." + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 691, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [174, 173] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 175, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 176, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 696, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 178, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [176, 178] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 179, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 180, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 181, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 20 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [180, 181] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 134, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 534, + "character": 8 + } + ], + "signatures": [ + { + "id": 135, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the session data from refresh token and returns current session or an error if the refresh token is invalid." + }, + "parameters": [ + { + "id": 136, + "name": "refresh_token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A refresh token returned by supabase auth.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 102, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 306, + "character": 8 + } + ], + "signatures": [ + { + "id": 103, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 104, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 403, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 267, + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 105, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 321, + "character": 8 + } + ], + "signatures": [ + { + "id": 106, + "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": 107, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 389, + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 99, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 256, + "character": 8 + } + ], + "signatures": [ + { + "id": 100, + "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": 101, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 376, + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 153, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 646, + "character": 8 + } + ], + "signatures": [ + { + "id": 154, + "name": "signOut", + "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" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 156, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 646, + "character": 29 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 494, + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [156] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 96, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 193, + "character": 8 + } + ], + "signatures": [ + { + "id": 97, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new user.", + "returns": "A logged-in session if the server has \"autoconfirm\" ON" + }, + "parameters": [ + { + "id": 98, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 360, + "name": "SignUpWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 131, + "name": "updateUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 499, + "character": 8 + } + ], + "signatures": [ + { + "id": 132, + "name": "updateUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates user data, if there is a logged in user." + }, + "parameters": [ + { + "id": 133, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 338, + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 280, + "name": "UserResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 108, + "name": "verifyOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 363, + "character": 8 + } + ], + "signatures": [ + { + "id": 109, + "name": "verifyOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in a user given a User supplied OTP received via mobile." + }, + "parameters": [ + { + "id": 110, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 414, + "name": "VerifyOtpParams" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 254, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [67] + }, + { + "title": "Properties", + "kind": 1024, + "children": [70] + }, + { + "title": "Methods", + "kind": 2048, + "children": [111, 128, 92, 157, 168, 134, 102, 105, 99, 153, 96, 131, 108] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 63, + "character": 21 + } + ] + }, + { + "id": 343, + "name": "AdminUserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 345, + "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": 205, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 351, + "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": 180, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + }, + "inheritedFrom": { + "type": "reference", + "id": 342, + "name": "UserAttributes.data" + } + }, + { + "id": 348, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 339, + "name": "UserAttributes.email" + } + }, + { + "id": 346, + "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": 212, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 350, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 341, + "name": "UserAttributes.password" + } + }, + { + "id": 349, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 340, + "name": "UserAttributes.phone" + } + }, + { + "id": 347, + "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": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 344, + "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": 195, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [345, 351, 348, 346, 350, 349, 347, 344] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 183, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 338, + "name": "UserAttributes" + } + ] + }, + { + "id": 455, + "name": "GenerateLinkOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 456, + "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": 402, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 457, + "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": 404, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [456, 457] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 396, + "character": 17 + } + ] + }, + { + "id": 291, + "name": "Session", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 293, + "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": 101, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 296, + "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": 113, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 295, + "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": 109, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 292, + "name": "provider_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 97, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 294, + "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": 105, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 297, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 114, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 298, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 115, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [293, 296, 295, 292, 294, 297, 298] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 96, + "character": 17 + } + ] + }, + { + "id": 352, + "name": "Subscription", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 353, + "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": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 354, + "name": "callback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "signatures": [ + { + "id": 355, + "name": "callback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "The function to call every time there is an event. eg: (eventName) => {}" + }, + "parameters": [ + { + "id": 356, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 240, + "name": "AuthChangeEvent" + } + }, + { + "id": 357, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 291, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 358, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 234, + "character": 2 + } + ], + "signatures": [ + { + "id": 359, + "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": [353] + }, + { + "title": "Methods", + "kind": 2048, + "children": [354, 358] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 17 + } + ] + }, + { + "id": 310, + "name": "User", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 327, + "name": "action_link", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 145, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 312, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 132, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 314, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 133, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [314] + } + ], + "indexSignature": { + "id": 315, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 316, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 321, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 139, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 322, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 331, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 149, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 330, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 148, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 146, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 324, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 142, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 332, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 150, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 311, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 131, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 155, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 299, + "name": "UserIdentity" + } + } + }, + { + "id": 326, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 144, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 334, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 152, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 325, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 143, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 147, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 333, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 151, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 323, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 141, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 335, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 153, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 336, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 154, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 317, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 136, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 319, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 320, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 327, 312, 321, 322, 331, 330, 328, 324, 332, 311, 337, 326, 334, 325, 329, 333, 323, + 335, 336, 317 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 130, + "character": 17 + } + ] + }, + { + "id": 338, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 342, + "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": 180, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 339, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 341, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 340, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [342, 339, 341, 340] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 343, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 299, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 307, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 300, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 119, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 121, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 303, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 304, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 305, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 308, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 306, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 124, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 309, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 127, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 301, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 120, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [307, 300, 302, 308, 306, 309, 301] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 118, + "character": 17 + } + ] + }, + { + "id": 423, + "name": "VerifyEmailOtpParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 424, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 348, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 427, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "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": 357, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "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": 355, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [430, 429] + } + ] + } + } + }, + { + "id": 425, + "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": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "EmailOtpType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [424, 427, 425, 426] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 17 + } + ] + }, + { + "id": 415, + "name": "VerifyMobileOtpParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 419, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 339, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 422, + "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": 343, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 421, + "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": 341, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [422, 421] + } + ] + } + } + }, + { + "id": 416, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 334, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "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": 336, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 418, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's verification type." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 338, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 431, + "name": "MobileOtpType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [419, 416, 417, 418] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, + "character": 17 + } + ] + }, + { + "id": 240, + "name": "AuthChangeEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 23, + "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" + } + ] + } + }, + { + "id": 254, + "name": "AuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 50, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 256, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 257, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 259, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 291, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 258, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 310, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [259, 258] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 12 + } + ] + } + } + }, + { + "id": 260, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [256, 260] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 261, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 262, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 263, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 265, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 264, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [265, 264] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 12 + } + ] + } + } + }, + { + "id": 266, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 63, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [262, 266] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 484, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 472, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 487, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 475, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 486, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 474, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 291, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [487, 486] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 473, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 488, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 490, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 479, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + }, + { + "id": 489, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 478, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [490, 489] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 477, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 432, + "name": "EmailOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "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": 449, + "name": "GenerateEmailChangeLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 385, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 450, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 452, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 388, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 453, + "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": 392, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 393, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 451, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 386, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "email_change_current" + }, + { + "type": "literal", + "value": "email_change_new" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [452, 453, 454, 451] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 385, + "character": 44 + } + ] + } + } + }, + { + "id": 439, + "name": "GenerateInviteOrMagiclinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 440, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 442, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 374, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 443, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 375, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 441, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 372, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [442, 443, 441] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 371, + "character": 46 + } + ] + } + } + }, + { + "id": 458, + "name": "GenerateLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 407, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 433, + "name": "GenerateSignupLinkParams" + }, + { + "type": "reference", + "id": 439, + "name": "GenerateInviteOrMagiclinkParams" + }, + { + "type": "reference", + "id": 444, + "name": "GenerateRecoveryLinkParams" + }, + { + "type": "reference", + "id": 449, + "name": "GenerateEmailChangeLinkParams" + } + ] + } + }, + { + "id": 472, + "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": 430, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 473, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 474, + "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": 435, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 475, + "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": 440, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 476, + "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": 444, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 477, + "name": "redirect_to", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL appended to the action link." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 478, + "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": 448, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 479, + "name": "GenerateLinkType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [474, 475, 476, 477, 478] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 430, + "character": 37 + } + ] + } + } + }, + { + "id": 459, + "name": "GenerateLinkResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 413, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 460, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 461, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 462, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 463, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 416, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 472, + "name": "GenerateLinkProperties" + } + }, + { + "id": 464, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 417, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [463, 464] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 415, + "character": 12 + } + ] + } + } + }, + { + "id": 465, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 419, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [461, 465] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 414, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 466, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 467, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 468, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 469, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 423, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 470, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 424, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [469, 470] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 422, + "character": 12 + } + ] + } + } + }, + { + "id": 471, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 426, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [467, 471] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 421, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 479, + "name": "GenerateLinkType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 451, + "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": 444, + "name": "GenerateRecoveryLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 445, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 447, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 381, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 448, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 382, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "literal", + "value": "redirectTo" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 446, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 379, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "recovery" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [447, 448, 446] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 378, + "character": 41 + } + ] + } + } + }, + { + "id": 433, + "name": "GenerateSignupLinkParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 434, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 436, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 366, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 455, + "name": "GenerateLinkOptions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "redirectTo" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 437, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 367, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 365, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "signup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [436, 438, 437, 435] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 39 + } + ] + } + } + }, + { + "id": 241, + "name": "GoTrueClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 242, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 250, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 249, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 253, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "Fetch" + } + }, + { + "id": 244, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 245, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 12 + } + ], + "indexSignature": { + "id": 246, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 247, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 251, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 252, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 480, + "name": "SupportedStorage" + } + }, + { + "id": 248, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [250, 249, 253, 244, 251, 252, 248, 243] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 34 + } + ] + } + } + }, + { + "id": 481, + "name": "InitializeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 482, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 483, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 494, + "name": "AuthError" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [483] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 470, + "character": 31 + } + ] + } + } + }, + { + "id": 431, + "name": "MobileOtpType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 267, + "name": "OAuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 268, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 269, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 270, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 271, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 69, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 272, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [271, 272] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 12 + } + ] + } + } + }, + { + "id": 273, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [269, 273] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 275, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 276, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 277, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + }, + { + "id": 278, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [277, 278] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 75, + "character": 12 + } + ] + } + } + }, + { + "id": 279, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [275, 279] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 239, + "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": 403, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 406, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 407, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 410, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object of query params" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 327, + "character": 18 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 408, + "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": 323, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 409, + "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": 325, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [410, 408, 409] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 321, + "character": 12 + } + ] + } + } + }, + { + "id": 405, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 320, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 239, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [406, 405] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 318, + "character": 41 + } + ] + } + } + }, + { + "id": 376, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 377, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 378, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 275, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 380, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 382, + "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": 280, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [382] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 16 + } + ] + } + } + }, + { + "id": 379, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 277, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [378, 380, 379] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 273, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 386, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 387, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 388, + "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": 290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [388] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 288, + "character": 16 + } + ] + } + } + }, + { + "id": 385, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 287, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 285, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [386, 385, 384] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 283, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 389, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 294, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 390, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 391, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 297, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 396, + "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": 304, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, + "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": 300, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "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": 302, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [396, 394, 395] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [391, 392] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 397, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 399, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 400, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 402, + "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": 314, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 401, + "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": 312, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [402, 401] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 310, + "character": 16 + } + ] + } + } + }, + { + "id": 398, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 309, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [399, 398] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 307, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 360, + "name": "SignUpWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 237, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 361, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 362, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 240, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 364, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "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": 253, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "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": 251, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 366, + "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": 245, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 367, 366] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 16 + } + ] + } + } + }, + { + "id": 363, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 242, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [362, 364, 363] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 238, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 372, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 375, + "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": 269, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 374, + "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": 267, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 374] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 16 + } + ] + } + } + }, + { + "id": 371, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 260, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 370, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 258, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [372, 371, 370] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 256, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 480, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 468, + "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": 280, + "name": "UserResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 281, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 282, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 310, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [284] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 12 + } + ] + } + } + }, + { + "id": 285, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 87, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [282, 285] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 286, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 287, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 289, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [289] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 12 + } + ] + } + } + }, + { + "id": 290, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 93, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [287, 290] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 89, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 414, + "name": "VerifyOtpParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 415, + "name": "VerifyMobileOtpParams" + }, + { + "type": "reference", + "id": 423, + "name": "VerifyEmailOtpParams" + } + ] + } + }, + { + "id": 491, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 492, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 493, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 494, + "name": "AuthError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [343, 455, 291, 352, 310, 338, 299, 423, 415] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 240, 254, 484, 432, 449, 439, 458, 472, 459, 479, 444, 433, 241, 481, 431, 267, 239, 403, + 376, 389, 360, 480, 280, 414 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [491] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 80140fb9800..70a93ae1503 100644 --- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json @@ -184,11 +184,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 509, - 508, - 510 - ] + "children": [509, 508, 510] } ] } @@ -201,23 +197,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 500 - ] + "children": [500] }, { "title": "Properties", "kind": 1024, - "children": [ - 504 - ] + "children": [504] }, { "title": "Methods", "kind": 2048, - "children": [ - 505 - ] + "children": [505] } ], "sources": [ @@ -296,9 +286,7 @@ { "title": "Constructors", "kind": 512, - "children": [ - 495 - ] + "children": [495] } ], "sources": [ @@ -436,10 +424,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 566, - 565 - ] + "children": [566, 565] } ] } @@ -537,10 +522,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 570, - 569 - ] + "children": [570, 569] } ] } @@ -694,10 +676,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 580, - 579 - ] + "children": [580, 579] } ] } @@ -768,12 +747,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 577, - 575, - 574, - 576 - ] + "children": [577, 575, 574, 576] } ] } @@ -796,25 +770,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 560 - ] + "children": [560] }, { "title": "Properties", "kind": 1024, - "children": [ - 567, - 581, - 582 - ] + "children": [567, 581, 582] }, { "title": "Methods", "kind": 2048, - "children": [ - 571 - ] + "children": [571] } ], "sources": [ @@ -1027,11 +993,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 556, - 555, - 557 - ] + "children": [556, 555, 557] } ] } @@ -1054,24 +1016,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 547 - ] + "children": [547] }, { "title": "Properties", "kind": 1024, - "children": [ - 550, - 551 - ] + "children": [550, 551] }, { "title": "Methods", "kind": 2048, - "children": [ - 552 - ] + "children": [552] } ], "sources": [ @@ -1295,11 +1250,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 595, - 594, - 596 - ] + "children": [595, 594, 596] } ] } @@ -1322,24 +1273,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 585 - ] + "children": [585] }, { "title": "Properties", "kind": 1024, - "children": [ - 589, - 590 - ] + "children": [589, 590] }, { "title": "Methods", "kind": 2048, - "children": [ - 591 - ] + "children": [591] } ], "sources": [ @@ -1539,11 +1483,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 543, - 542, - 544 - ] + "children": [543, 542, 544] } ] } @@ -1566,24 +1506,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 535 - ] + "children": [535] }, { "title": "Properties", "kind": 1024, - "children": [ - 537, - 538 - ] + "children": [537, 538] }, { "title": "Methods", "kind": 2048, - "children": [ - 539 - ] + "children": [539] } ], "sources": [ @@ -1693,16 +1626,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 513 - ] + "children": [513] }, { "title": "Properties", "kind": 1024, - "children": [ - 517 - ] + "children": [517] } ], "sources": [ @@ -1931,11 +1860,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 531, - 530, - 532 - ] + "children": [531, 530, 532] } ] } @@ -1948,24 +1873,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 520 - ] + "children": [520] }, { "title": "Properties", "kind": 1024, - "children": [ - 525, - 526 - ] + "children": [525, 526] }, { "title": "Methods", "kind": 2048, - "children": [ - 527 - ] + "children": [527] } ], "sources": [ @@ -2210,11 +2128,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 11, - 7, - 6 - ] + "children": [11, 7, 6] } ] } @@ -2484,16 +2398,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -2836,10 +2741,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 37, - 36 - ] + "children": [37, 36] } ] } @@ -2951,9 +2853,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 49 - ] + "children": [49] } ] } @@ -2982,10 +2882,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 47, - 50 - ] + "children": [47, 50] } ] } @@ -3043,9 +2940,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 54 - ] + "children": [54] } ] } @@ -3075,10 +2970,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 52, - 55 - ] + "children": [52, 55] } ] } @@ -3177,9 +3069,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 30 - ] + "children": [30] } ] } @@ -3461,16 +3351,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -3512,23 +3393,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Methods", "kind": 2048, - "children": [ - 41, - 63, - 38, - 56, - 31, - 44, - 26, - 59 - ] + "children": [41, 63, 38, 56, 31, 44, 26, 59] } ], "sources": [ @@ -3804,16 +3674,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 250, - 249, - 253, - 244, - 251, - 252, - 248, - 243 - ] + "children": [250, 249, 253, 244, 251, 252, 248, 243] } ], "sources": [ @@ -3943,9 +3804,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 116 - ] + "children": [116] } ] } @@ -3974,10 +3833,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 114, - 117 - ] + "children": [114, 117] } ] } @@ -4036,9 +3892,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 121 - ] + "children": [121] } ] } @@ -4068,10 +3922,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 119, - 122 - ] + "children": [119, 122] } ] } @@ -4130,9 +3981,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 126 - ] + "children": [126] } ] } @@ -4161,10 +4010,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 124, - 127 - ] + "children": [124, 127] } ] } @@ -4423,9 +4269,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 167 - ] + "children": [167] } ] } @@ -4436,9 +4280,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 165 - ] + "children": [165] } ] } @@ -4550,10 +4392,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 174, - 173 - ] + "children": [174, 173] } ] } @@ -4623,10 +4462,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 176, - 178 - ] + "children": [176, 178] } ] } @@ -4682,10 +4518,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 180, - 181 - ] + "children": [180, 181] } ] } @@ -4945,11 +4778,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 410, - 408, - 409 - ] + "children": [410, 408, 409] } ], "sources": [ @@ -4989,10 +4818,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406, - 405 - ] + "children": [406, 405] } ], "sources": [ @@ -5202,11 +5028,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 396, - 394, - 395 - ] + "children": [396, 394, 395] } ], "sources": [ @@ -5224,10 +5046,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 392 - ] + "children": [391, 392] } ], "sources": [ @@ -5323,10 +5142,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 402, - 401 - ] + "children": [402, 401] } ], "sources": [ @@ -5365,10 +5181,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399, - 398 - ] + "children": [399, 398] } ], "sources": [ @@ -5534,9 +5347,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 382 - ] + "children": [382] } ], "sources": [ @@ -5575,11 +5386,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 378, - 380, - 379 - ] + "children": [378, 380, 379] } ], "sources": [ @@ -5652,9 +5459,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 388 - ] + "children": [388] } ], "sources": [ @@ -5714,11 +5519,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 386, - 385, - 384 - ] + "children": [386, 385, 384] } ], "sources": [ @@ -5821,9 +5622,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 156 - ] + "children": [156] } ] } @@ -6016,11 +5815,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 368, - 367, - 366 - ] + "children": [368, 367, 366] } ], "sources": [ @@ -6059,11 +5854,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 364, - 363 - ] + "children": [362, 364, 363] } ], "sources": [ @@ -6160,10 +5951,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 374 - ] + "children": [375, 374] } ], "sources": [ @@ -6223,11 +6011,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372, - 371, - 370 - ] + "children": [372, 371, 370] } ], "sources": [ @@ -6400,12 +6184,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 339, - 341, - 340 - ] + "children": [342, 339, 341, 340] } ], "sources": [ @@ -6529,35 +6308,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 67 - ] + "children": [67] }, { "title": "Properties", "kind": 1024, - "children": [ - 70 - ] + "children": [70] }, { "title": "Methods", "kind": 2048, - "children": [ - 111, - 128, - 92, - 157, - 168, - 134, - 102, - 105, - 99, - 153, - 96, - 131, - 108 - ] + "children": [111, 128, 92, 157, 168, 134, 102, 105, 99, 153, 96, 131, 108] } ], "sources": [ @@ -6789,16 +6550,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 345, - 351, - 348, - 346, - 350, - 349, - 347, - 344 - ] + "children": [345, 351, 348, 346, 350, 349, 347, 344] } ], "sources": [ @@ -6875,10 +6627,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 456, - 457 - ] + "children": [456, 457] } ], "sources": [ @@ -7053,15 +6802,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 293, - 296, - 295, - 292, - 294, - 297, - 298 - ] + "children": [293, 296, 295, 292, 294, 297, 298] } ], "sources": [ @@ -7243,17 +6984,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 353 - ] + "children": [353] }, { "title": "Methods", "kind": 2048, - "children": [ - 354, - 358 - ] + "children": [354, 358] } ], "sources": [ @@ -7338,9 +7074,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 314 - ] + "children": [314] } ], "indexSignature": { @@ -7760,26 +7494,8 @@ "title": "Properties", "kind": 1024, "children": [ - 327, - 312, - 321, - 322, - 331, - 330, - 328, - 324, - 332, - 311, - 337, - 326, - 334, - 325, - 329, - 333, - 323, - 335, - 336, - 317 + 327, 312, 321, 322, 331, 330, 328, 324, 332, 311, 337, 326, 334, 325, 329, 333, 323, + 335, 336, 317 ] } ], @@ -7896,12 +7612,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 339, - 341, - 340 - ] + "children": [342, 339, 341, 340] } ], "sources": [ @@ -8088,15 +7799,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 307, - 300, - 302, - 308, - 306, - 309, - 301 - ] + "children": [307, 300, 302, 308, 306, 309, 301] } ], "sources": [ @@ -8210,10 +7913,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 430, - 429 - ] + "children": [430, 429] } ] } @@ -8267,12 +7967,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 424, - 427, - 425, - 426 - ] + "children": [424, 427, 425, 426] } ], "sources": [ @@ -8365,10 +8060,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 422, - 421 - ] + "children": [422, 421] } ] } @@ -8443,12 +8135,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 419, - 416, - 417, - 418 - ] + "children": [419, 416, 417, 418] } ], "sources": [ @@ -8610,10 +8297,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 259, - 258 - ] + "children": [259, 258] } ], "sources": [ @@ -8649,10 +8333,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 256, - 260 - ] + "children": [256, 260] } ], "sources": [ @@ -8736,10 +8417,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 265, - 264 - ] + "children": [265, 264] } ], "sources": [ @@ -8776,10 +8454,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 262, - 266 - ] + "children": [262, 266] } ], "sources": [ @@ -8861,10 +8536,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 487, - 486 - ] + "children": [487, 486] } ], "sources": [ @@ -8927,10 +8599,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 490, - 489 - ] + "children": [490, 489] } ], "sources": [ @@ -9113,12 +8782,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 452, - 453, - 454, - 451 - ] + "children": [452, 453, 454, 451] } ], "sources": [ @@ -9248,11 +8912,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 442, - 443, - 441 - ] + "children": [442, 443, 441] } ], "sources": [ @@ -9440,13 +9100,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 474, - 475, - 476, - 477, - 478 - ] + "children": [474, 475, 476, 477, 478] } ], "sources": [ @@ -9549,10 +9203,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 463, - 464 - ] + "children": [463, 464] } ], "sources": [ @@ -9588,10 +9239,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 461, - 465 - ] + "children": [461, 465] } ], "sources": [ @@ -9675,10 +9323,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 469, - 470 - ] + "children": [469, 470] } ], "sources": [ @@ -9715,10 +9360,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 467, - 471 - ] + "children": [467, 471] } ], "sources": [ @@ -9875,11 +9517,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 447, - 448, - 446 - ] + "children": [447, 448, 446] } ], "sources": [ @@ -10015,12 +9653,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 436, - 438, - 437, - 435 - ] + "children": [436, 438, 437, 435] } ], "sources": [ @@ -10257,16 +9890,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 250, - 249, - 253, - 244, - 251, - 252, - 248, - 243 - ] + "children": [250, 249, 253, 244, 251, 252, 248, 243] } ], "sources": [ @@ -10334,9 +9958,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 483 - ] + "children": [483] } ], "sources": [ @@ -10465,10 +10087,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 271, - 272 - ] + "children": [271, 272] } ], "sources": [ @@ -10504,10 +10123,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 269, - 273 - ] + "children": [269, 273] } ], "sources": [ @@ -10592,10 +10208,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 277, - 278 - ] + "children": [277, 278] } ], "sources": [ @@ -10632,10 +10245,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 275, - 279 - ] + "children": [275, 279] } ], "sources": [ @@ -10892,11 +10502,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 410, - 408, - 409 - ] + "children": [410, 408, 409] } ], "sources": [ @@ -10936,10 +10542,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406, - 405 - ] + "children": [406, 405] } ], "sources": [ @@ -11050,9 +10653,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 382 - ] + "children": [382] } ], "sources": [ @@ -11091,11 +10692,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 378, - 380, - 379 - ] + "children": [378, 380, 379] } ], "sources": [ @@ -11168,9 +10765,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 388 - ] + "children": [388] } ], "sources": [ @@ -11230,11 +10825,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 386, - 385, - 384 - ] + "children": [386, 385, 384] } ], "sources": [ @@ -11393,11 +10984,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 396, - 394, - 395 - ] + "children": [396, 394, 395] } ], "sources": [ @@ -11415,10 +11002,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 392 - ] + "children": [391, 392] } ], "sources": [ @@ -11514,10 +11098,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 402, - 401 - ] + "children": [402, 401] } ], "sources": [ @@ -11556,10 +11137,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399, - 398 - ] + "children": [399, 398] } ], "sources": [ @@ -11719,11 +11297,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 368, - 367, - 366 - ] + "children": [368, 367, 366] } ], "sources": [ @@ -11762,11 +11336,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 364, - 363 - ] + "children": [362, 364, 363] } ], "sources": [ @@ -11863,10 +11433,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 374 - ] + "children": [375, 374] } ], "sources": [ @@ -11926,11 +11493,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372, - 371, - 370 - ] + "children": [372, 371, 370] } ], "sources": [ @@ -12067,9 +11630,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 284 - ] + "children": [284] } ], "sources": [ @@ -12105,10 +11666,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 282, - 285 - ] + "children": [282, 285] } ], "sources": [ @@ -12174,9 +11732,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 289 - ] + "children": [289] } ], "sources": [ @@ -12213,10 +11769,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 287, - 290 - ] + "children": [287, 290] } ], "sources": [ @@ -12311,70 +11864,25 @@ { "title": "Classes", "kind": 128, - "children": [ - 499, - 494, - 559, - 546, - 584, - 534, - 512, - 519, - 1, - 66 - ] + "children": [499, 494, 559, 546, 584, 534, 512, 519, 1, 66] }, { "title": "Interfaces", "kind": 256, - "children": [ - 343, - 455, - 291, - 352, - 310, - 338, - 299, - 423, - 415 - ] + "children": [343, 455, 291, 352, 310, 338, 299, 423, 415] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 240, - 254, - 484, - 432, - 449, - 439, - 458, - 472, - 459, - 479, - 444, - 433, - 241, - 481, - 431, - 267, - 239, - 403, - 376, - 389, - 360, - 480, - 280, - 414 + 240, 254, 484, 432, 449, 439, 458, 472, 459, 479, 444, 433, 241, 481, 431, 267, 239, 403, + 376, 389, 360, 480, 280, 414 ] }, { "title": "Functions", "kind": 64, - "children": [ - 491 - ] + "children": [491] } ], "sources": [ @@ -12384,4 +11892,4 @@ "character": 0 } ] -} \ No newline at end of file +} diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json index 70cd2867877..4421702943e 100644 --- a/spec/enrichments/tsdoc_v2/postgrest.json +++ b/spec/enrichments/tsdoc_v2/postgrest.json @@ -1,11190 +1,10992 @@ { - "id": 0, - "name": "@supabase/postgrest-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 481, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, - "children": [ - { - "id": 482, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 483, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 484, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 485, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 498, - "name": "allowEmpty", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 490, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 493, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 495, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 496, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 497, - "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": 488, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 486, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "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": 489, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 491, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 492, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 487, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 501, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 502, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 503, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - }, - { - "id": 504, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 505, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 506, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 507, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 508, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 509, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 510, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 511, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 512, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 499, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 500, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 482 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 501, - 499 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 5, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 513, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 392, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 484, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - }, - { - "id": 1, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 29, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Creates a PostgREST 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", - "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", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 7, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "URL of the PostgREST endpoint." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 8, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 9, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 12, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 38, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 13, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 14, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 15, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 16, - "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": 10, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 36, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 11, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 37, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 12, - 10, - 11 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 1, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 6, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 20, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 21, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 22, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 23, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 24, - "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": 18, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 19, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - }, - { - "id": 17, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 25, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 52, - "character": 2 - } - ], - "signatures": [ - { - "id": 26, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "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" - } - } - ], - "parameters": [ - { - "id": 29, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The table name to operate on.\n" - }, - "type": { - "type": "reference", - "id": 27, - "name": "TableName" - } - } - ], - "type": { - "type": "reference", - "id": 46, - "typeArguments": [ - { - "type": "reference", - "id": 28, - "name": "Table" - } - ], - "name": "default" - } - }, - { - "id": 30, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 31, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 46, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 32, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 73, - "character": 2 - } - ], - "signatures": [ - { - "id": 33, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 34, - "name": "FunctionName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 35, - "name": "Function_", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericFunction" - } - } - ], - "parameters": [ - { - "id": 36, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The function name to call." - }, - "type": { - "type": "reference", - "id": 34, - "name": "FunctionName" - } - }, - { - "id": 37, - "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": 35, - "name": "Function_" - } - }, - "defaultValue": "{}" - }, - { - "id": 38, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters.\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 39, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 41, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 87, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 40, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When set to true, no data will be returned." - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 85, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 42, - "name": "rollback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Rollback the operation" - }, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 89, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 41, - 40, - 42 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 35, - "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": 35, - "name": "Function_" - } - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 2 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 20, - 18, - 19, - 17 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 25, - 32 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 7, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 43, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 44, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 4, - "name": "Database" - } - } - ] - }, - "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": 45, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "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", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 4, - "name": "Database" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ] - }, - { - "id": 111, - "name": "PostgrestFilterBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 112, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "signatures": [ - { - "id": 113, - "name": "new PostgrestFilterBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 114, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 115, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 116, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 394, - "name": "default.constructor" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 393, - "name": "default.constructor" - } - }, - { - "id": 375, - "name": "allowEmpty", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 464, - "name": "default.allowEmpty" - } - }, - { - "id": 367, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - }, - "inheritedFrom": { - "type": "reference", - "id": 456, - "name": "default.body" - } - }, - { - "id": 370, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 371, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 372, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 373, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 374, - "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" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 459, - "name": "default.fetch" - } - }, - { - "id": 365, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "inheritedFrom": { - "type": "reference", - "id": 454, - "name": "default.headers" - } - }, - { - "id": 363, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 452, - "name": "default.method" - } - }, - { - "id": 366, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 455, - "name": "default.schema" - } - }, - { - "id": 368, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 457, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 369, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 458, - "name": "default.signal" - } - }, - { - "id": 364, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 453, - "name": "default.url" - } - }, - { - "id": 343, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 110, - "character": 2 - } - ], - "signatures": [ - { - "id": 344, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 345, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 433, - "name": "default.abortSignal" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 432, - "name": "default.abortSignal" - } - }, - { - "id": 221, - "name": "containedBy", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 250, - "character": 2 - } - ], - "signatures": [ - { - "id": 222, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." - }, - "typeParameter": [ - { - "id": 223, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 224, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 223, - "name": "ColumnName" - } - }, - { - "id": 225, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 223, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 226, - "name": "containedBy", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 227, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 228, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 213, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 223, - "character": 2 - } - ], - "signatures": [ - { - "id": 214, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." - }, - "typeParameter": [ - { - "id": 215, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 216, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 215, - "name": "ColumnName" - } - }, - { - "id": 217, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 215, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 218, - "name": "contains", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 219, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 220, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 350, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 138, - "character": 2 - } - ], - "signatures": [ - { - "id": 351, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 440, - "name": "default.csv" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 439, - "name": "default.csv" - } - }, - { - "id": 133, - "name": "eq", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 72, - "character": 2 - } - ], - "signatures": [ - { - "id": 134, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`." - }, - "typeParameter": [ - { - "id": 135, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 136, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 135, - "name": "ColumnName" - } - }, - { - "id": 137, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 135, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 138, - "name": "eq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 139, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 140, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 354, - "name": "explain", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 160, - "character": 2 - } - ], - "signatures": [ - { - "id": 355, - "name": "explain", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Obtains the EXPLAIN plan for this request." - }, - "parameters": [ - { - "id": 356, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 357, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 358, - "name": "analyze", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 167, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 361, - "name": "buffers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 170, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 360, - "name": "settings", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 359, - "name": "verbose", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 168, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 362, - "name": "wal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 171, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 358, - 361, - 360, - 359, - 362 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 444, - "name": "default.explain" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 443, - "name": "default.explain" - } - }, - { - "id": 293, - "name": "filter", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 406, - "character": 2 - } - ], - "signatures": [ - { - "id": 294, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose `column` satisfies the filter." - }, - "typeParameter": [ - { - "id": 295, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 296, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 295, - "name": "ColumnName" - } - }, - { - "id": 297, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to filter with." - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "FilterOperator" - }, - { - "type": "literal", - "value": "not.eq" - }, - { - "type": "literal", - "value": "not.neq" - }, - { - "type": "literal", - "value": "not.gt" - }, - { - "type": "literal", - "value": "not.gte" - }, - { - "type": "literal", - "value": "not.lt" - }, - { - "type": "literal", - "value": "not.lte" - }, - { - "type": "literal", - "value": "not.like" - }, - { - "type": "literal", - "value": "not.ilike" - }, - { - "type": "literal", - "value": "not.is" - }, - { - "type": "literal", - "value": "not.in" - }, - { - "type": "literal", - "value": "not.cs" - }, - { - "type": "literal", - "value": "not.cd" - }, - { - "type": "literal", - "value": "not.sl" - }, - { - "type": "literal", - "value": "not.sr" - }, - { - "type": "literal", - "value": "not.nxl" - }, - { - "type": "literal", - "value": "not.nxr" - }, - { - "type": "literal", - "value": "not.adj" - }, - { - "type": "literal", - "value": "not.ov" - }, - { - "type": "literal", - "value": "not.fts" - }, - { - "type": "literal", - "value": "not.plfts" - }, - { - "type": "literal", - "value": "not.phfts" - }, - { - "type": "literal", - "value": "not.wfts" - } - ] - } - }, - { - "id": 298, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 299, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 300, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 301, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 302, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 352, - "name": "geojson", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 146, - "character": 2 - } - ], - "signatures": [ - { - "id": 353, - "name": "geojson", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the response type to GeoJSON." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 442, - "name": "default.geojson" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 441, - "name": "default.geojson" - } - }, - { - "id": 149, - "name": "gt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 100, - "character": 2 - } - ], - "signatures": [ - { - "id": 150, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`." - }, - "typeParameter": [ - { - "id": 151, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 152, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 151, - "name": "ColumnName" - } - }, - { - "id": 153, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 151, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 154, - "name": "gt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 155, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 156, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 157, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 114, - "character": 2 - } - ], - "signatures": [ - { - "id": 158, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`." - }, - "typeParameter": [ - { - "id": 159, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 160, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 159, - "name": "ColumnName" - } - }, - { - "id": 161, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 159, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 162, - "name": "gte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 163, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 164, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 189, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 170, - "character": 2 - } - ], - "signatures": [ - { - "id": 190, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)." - }, - "typeParameter": [ - { - "id": 191, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 192, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 191, - "name": "ColumnName" - } - }, - { - "id": 193, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 194, - "name": "ilike", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 195, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 196, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 205, - "name": "in", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 201, - "character": 2 - } - ], - "signatures": [ - { - "id": 206, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`." - }, - "typeParameter": [ - { - "id": 207, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 208, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 207, - "name": "ColumnName" - } - }, - { - "id": 209, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to filter with.\n" - }, - "type": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 207, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 210, - "name": "in", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 211, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 212, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 197, - "name": "is", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 184, - "character": 2 - } - ], - "signatures": [ - { - "id": 198, - "name": "is", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`." - }, - "typeParameter": [ - { - "id": 199, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 200, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 199, - "name": "ColumnName" - } - }, - { - "id": 201, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 199, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - }, - { - "type": "literal", - "value": null - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 199, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - }, - { - "type": "literal", - "value": false - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 199, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - }, - { - "type": "literal", - "value": true - } - ] - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 202, - "name": "is", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 203, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 204, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 181, - "name": "like", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 156, - "character": 2 - } - ], - "signatures": [ - { - "id": 182, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)." - }, - "typeParameter": [ - { - "id": 183, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 184, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 183, - "name": "ColumnName" - } - }, - { - "id": 185, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The pattern to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 186, - "name": "like", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 187, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 188, - "name": "pattern", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 330, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 85, - "character": 2 - } - ], - "signatures": [ - { - "id": 331, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 332, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 333, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The foreign table to use (for foreign columns).\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 334, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 335, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 85, - "character": 43 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 335 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 420, - "name": "default.limit" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 419, - "name": "default.limit" - } - }, - { - "id": 165, - "name": "lt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 128, - "character": 2 - } - ], - "signatures": [ - { - "id": 166, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`." - }, - "typeParameter": [ - { - "id": 167, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 168, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 167, - "name": "ColumnName" - } - }, - { - "id": 169, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 167, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 170, - "name": "lt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 171, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 172, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 173, - "name": "lte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 142, - "character": 2 - } - ], - "signatures": [ - { - "id": 174, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`." - }, - "typeParameter": [ - { - "id": 175, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 176, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 175, - "name": "ColumnName" - } - }, - { - "id": 177, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 175, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 178, - "name": "lte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 179, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 180, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 303, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 423, - "character": 2 - } - ], - "signatures": [ - { - "id": 304, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose columns match the specified `query` object." - }, - "typeParameter": [ - { - "id": 305, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 306, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The object to filter with, with column names as keys mapped\n to their filter values.\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 305, - "name": "ColumnName" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 305, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 307, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 308, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 348, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 129, - "character": 2 - } - ], - "signatures": [ - { - "id": 349, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 518, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 438, - "name": "default.maybeSingle" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 437, - "name": "default.maybeSingle" - } - }, - { - "id": 141, - "name": "neq", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 86, - "character": 2 - } - ], - "signatures": [ - { - "id": 142, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`." - }, - "typeParameter": [ - { - "id": 143, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 144, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 143, - "name": "ColumnName" - } - }, - { - "id": 145, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 143, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 146, - "name": "neq", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 147, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 148, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 117, - "name": "not", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 42, - "character": 2 - } - ], - "signatures": [ - { - "id": 118, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows which doesn't satisfy the filter." - }, - "typeParameter": [ - { - "id": 119, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 120, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 119, - "name": "ColumnName" - } - }, - { - "id": 121, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to filter with." - }, - "type": { - "type": "reference", - "name": "FilterOperator" - } - }, - { - "id": 122, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 119, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 123, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 124, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 125, - "name": "operator", - "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": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 127, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 59, - "character": 2 - } - ], - "signatures": [ - { - "id": 128, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows satisfying at least one of the filters." - }, - "parameters": [ - { - "id": 129, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The filters to use, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 130, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The foreign table to use (if `column` is a foreign column).\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 131, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 132, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 59, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 132 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 314, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 315, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "typeParameter": [ - { - "id": 316, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 317, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order on." - }, - "type": { - "type": "reference", - "id": 316, - "name": "ColumnName" - } - }, - { - "id": 318, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 319, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 320, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 322, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 321, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 320, - 322, - 321 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 404, - "name": "default.order" - } - }, - { - "id": 323, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 324, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 325, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 326, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 327, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 329, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 328, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 327, - 329, - 328 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 412, - "name": "default.order" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 403, - "name": "default.order" - } - }, - { - "id": 269, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 346, - "character": 2 - } - ], - "signatures": [ - { - "id": 270, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`." - }, - "typeParameter": [ - { - "id": 271, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 272, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 271, - "name": "ColumnName" - } - }, - { - "id": 273, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 271, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 114, - "name": "Table" - } - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 274, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 275, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 276, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 336, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 98, - "character": 2 - } - ], - "signatures": [ - { - "id": 337, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 338, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 339, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 340, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The foreign table to use (for foreign columns).\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 342, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 98, - "character": 54 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 342 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 426, - "name": "default.range" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 425, - "name": "default.range" - } - }, - { - "id": 261, - "name": "rangeAdjacent", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 332, - "character": 2 - } - ], - "signatures": [ - { - "id": 262, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`." - }, - "typeParameter": [ - { - "id": 263, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 264, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 263, - "name": "ColumnName" - } - }, - { - "id": 265, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 266, - "name": "rangeAdjacent", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 267, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 268, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 237, - "name": "rangeGt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 290, - "character": 2 - } - ], - "signatures": [ - { - "id": 238, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." - }, - "typeParameter": [ - { - "id": 239, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 240, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 239, - "name": "ColumnName" - } - }, - { - "id": 241, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 242, - "name": "rangeGt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 243, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 244, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 245, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 304, - "character": 2 - } - ], - "signatures": [ - { - "id": 246, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." - }, - "typeParameter": [ - { - "id": 247, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 248, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 247, - "name": "ColumnName" - } - }, - { - "id": 249, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 250, - "name": "rangeGte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 251, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 252, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 229, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 276, - "character": 2 - } - ], - "signatures": [ - { - "id": 230, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." - }, - "typeParameter": [ - { - "id": 231, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 232, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 231, - "name": "ColumnName" - } - }, - { - "id": 233, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 234, - "name": "rangeLt", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 235, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 236, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 253, - "name": "rangeLte", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 318, - "character": 2 - } - ], - "signatures": [ - { - "id": 254, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." - }, - "typeParameter": [ - { - "id": 255, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 256, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 255, - "name": "ColumnName" - } - }, - { - "id": 257, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The range to filter with.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 258, - "name": "rangeLte", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 259, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 260, - "name": "range", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 309, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 310, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "typeParameter": [ - { - "id": 311, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 312, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 311, - "name": "Query" - }, - "extendsType": { - "type": "literal", - "value": "*" - }, - "trueType": { - "type": "literal", - "value": "*" - }, - "falseType": { - "type": "reference", - "id": 311, - "name": "Query" - } - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 313, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "reference", - "id": 311, - "name": "Query" - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 312, - "name": "NewResult" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 399, - "name": "default.select" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 398, - "name": "default.select" - } - }, - { - "id": 346, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 119, - "character": 2 - } - ], - "signatures": [ - { - "id": 347, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 436, - "name": "default.single" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 435, - "name": "default.single" - } - }, - { - "id": 277, - "name": "textSearch", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 371, - "character": 2 - } - ], - "signatures": [ - { - "id": 278, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`." - }, - "typeParameter": [ - { - "id": 279, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 280, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on." - }, - "type": { - "type": "reference", - "id": 279, - "name": "ColumnName" - } - }, - { - "id": 281, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 282, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 283, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 284, - "name": "config", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 374, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 285, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 374, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "plain" - }, - { - "type": "literal", - "value": "phrase" - }, - { - "type": "literal", - "value": "websearch" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 284, - 285 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 286, - "name": "textSearch", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 287, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 288, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 289, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 290, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 291, - "name": "config", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 379, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 292, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 379, - "character": 33 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "plain" - }, - { - "type": "literal", - "value": "phrase" - }, - { - "type": "literal", - "value": "websearch" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 291, - 292 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 378, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 379, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 380, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - }, - { - "id": 381, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 382, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 383, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 384, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 385, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 386, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 388, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 389, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 468, - "name": "default.then" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 467, - "name": "default.then" - } - }, - { - "id": 376, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 377, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 466, - "name": "default.throwOnError" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 465, - "name": "default.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 112 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 375, - 367, - 370, - 365, - 363, - 366, - 368, - 369, - 364 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 343, - 221, - 213, - 350, - 133, - 354, - 293, - 352, - 149, - 157, - 189, - 205, - 197, - 181, - 330, - 165, - 173, - 303, - 348, - 141, - 117, - 127, - 314, - 269, - 336, - 261, - 237, - 245, - 229, - 253, - 309, - 346, - 277, - 378, - 376 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 31, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 390, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 391, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 114, - "name": "Table" - }, - { - "type": "reference", - "id": 115, - "name": "Result" - } - ], - "name": "default" - } - ] - }, - { - "id": 46, - "name": "PostgrestQueryBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 47, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 13, - "character": 2 - } - ], - "signatures": [ - { - "id": 48, - "name": "new PostgrestQueryBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 49, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 50, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 51, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 52, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 55, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 22, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 56, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 57, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 58, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 59, - "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": 53, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 20, - "character": 6 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 54, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 21, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 55, - 53, - 54 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 46, - "typeArguments": [ - { - "type": "reference", - "id": 49, - "name": "Table" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 64, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 65, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 66, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 67, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 68, - "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": 61, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 8, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 62, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 63, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 10, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 60, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 7, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 104, - "name": "delete", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 228, - "character": 2 - } - ], - "signatures": [ - { - "id": 105, - "name": "delete", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs a DELETE on the table." - }, - "parameters": [ - { - "id": 106, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 107, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 108, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 233, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 109, - "name": "rollback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Rollback the operation" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 235, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 108, - 109 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 78, - "name": "insert", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 86, - "character": 2 - } - ], - "signatures": [ - { - "id": 79, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs an INSERT into the table." - }, - "typeParameter": [ - { - "id": 80, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 81, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to insert.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 80, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 80, - "name": "Row" - } - } - ] - } - }, - { - "id": 82, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 83, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 84, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 93, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 85, - "name": "rollback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Rollback the operation" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 95, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 84, - 85 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 69, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 36, - "character": 2 - } - ], - "signatures": [ - { - "id": 70, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "typeParameter": [ - { - "id": 71, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 72, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 71, - "name": "Query" - }, - "extendsType": { - "type": "literal", - "value": "*" - }, - "trueType": { - "type": "literal", - "value": "*" - }, - "falseType": { - "type": "reference", - "id": 71, - "name": "Query" - } - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 73, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "reference", - "id": 71, - "name": "Query" - } - }, - { - "id": 74, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 75, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 77, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 48, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 76, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "When set to true, select will void data." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 46, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 77, - 76 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "reference", - "id": 72, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 96, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 188, - "character": 2 - } - ], - "signatures": [ - { - "id": 97, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs an UPDATE on the table." - }, - "typeParameter": [ - { - "id": 98, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 99, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to update.\n" - }, - "type": { - "type": "reference", - "id": 98, - "name": "Row" - } - }, - { - "id": 100, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 101, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 102, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 195, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 103, - "name": "rollback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Rollback the operation" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 197, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 102, - 103 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 86, - "name": "upsert", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 137, - "character": 2 - } - ], - "signatures": [ - { - "id": 87, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs an UPSERT into the table." - }, - "typeParameter": [ - { - "id": 88, - "name": "Row", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "parameters": [ - { - "id": 89, - "name": "values", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The values to insert.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 88, - "name": "Row" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "id": 88, - "name": "Row" - } - } - ] - } - }, - { - "id": 90, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 91, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 93, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Count algorithm to use to count rows in a table." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 148, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 94, - "name": "ignoreDuplicates", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Specifies if duplicate rows should be ignored and not inserted." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 150, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 92, - "name": "onConflict", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint." - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 146, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "rollback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Rollback the operation" - }, - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 152, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 93, - 94, - 92, - 95 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 111, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Row" - }, - "objectType": { - "type": "reference", - "id": 49, - "name": "Table" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ], - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 47 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 64, - 61, - 62, - 63, - 60 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 104, - 78, - 69, - 96, - 86 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 110, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericTable" - } - } - ] - }, - { - "id": 392, - "name": "PostgrestTransformBuilder", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "Post-filters (transforms)" - }, - "children": [ - { - "id": 393, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "signatures": [ - { - "id": 394, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 395, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 396, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "parameters": [ - { - "id": 397, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 483, - "name": "default.constructor" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 482, - "name": "default.constructor" - } - }, - { - "id": 464, - "name": "allowEmpty", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 498, - "name": "default.allowEmpty" - } - }, - { - "id": 456, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 12, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - }, - "inheritedFrom": { - "type": "reference", - "id": 490, - "name": "default.body" - } - }, - { - "id": 459, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 461, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 462, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 463, - "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" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 493, - "name": "default.fetch" - } - }, - { - "id": 454, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 10, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - "inheritedFrom": { - "type": "reference", - "id": 488, - "name": "default.headers" - } - }, - { - "id": 452, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 486, - "name": "default.method" - } - }, - { - "id": 455, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 489, - "name": "default.schema" - } - }, - { - "id": 457, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 13, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 491, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 458, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 492, - "name": "default.signal" - } - }, - { - "id": 453, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 9, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - }, - "inheritedFrom": { - "type": "reference", - "id": 487, - "name": "default.url" - } - }, - { - "id": 432, - "name": "abortSignal", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 110, - "character": 2 - } - ], - "signatures": [ - { - "id": 433, - "name": "abortSignal", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the AbortSignal for the fetch request." - }, - "parameters": [ - { - "id": 434, - "name": "signal", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 439, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 138, - "character": 2 - } - ], - "signatures": [ - { - "id": 440, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - } - ] - }, - { - "id": 443, - "name": "explain", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 160, - "character": 2 - } - ], - "signatures": [ - { - "id": 444, - "name": "explain", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Obtains the EXPLAIN plan for this request." - }, - "parameters": [ - { - "id": 445, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 446, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 447, - "name": "analyze", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 167, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 450, - "name": "buffers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 170, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 449, - "name": "settings", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 448, - "name": "verbose", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 168, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 451, - "name": "wal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 171, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 447, - 450, - 449, - 448, - 451 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - } - ] - }, - { - "id": 441, - "name": "geojson", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 146, - "character": 2 - } - ], - "signatures": [ - { - "id": 442, - "name": "geojson", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set the response type to GeoJSON." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - } - ] - }, - { - "id": 419, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 85, - "character": 2 - } - ], - "signatures": [ - { - "id": 420, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 421, - "name": "count", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The maximum no. of rows to limit to." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 422, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The foreign table to use (for foreign columns).\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 423, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 424, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 85, - "character": 43 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 424 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 437, - "name": "maybeSingle", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 129, - "character": 2 - } - ], - "signatures": [ - { - "id": 438, - "name": "maybeSingle", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 518, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "PostgrestMaybeSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - } - ] - }, - { - "id": 403, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, - "character": 2 - } - ], - "signatures": [ - { - "id": 404, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "typeParameter": [ - { - "id": 405, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 406, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order on." - }, - "type": { - "type": "reference", - "id": 316, - "name": "ColumnName" - } - }, - { - "id": 407, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 411, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 410, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 53, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 409, - 411, - 410 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - }, - { - "id": 412, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 413, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 414, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 415, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 416, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 418, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 417, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 416, - 418, - 417 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 425, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 98, - "character": 2 - } - ], - "signatures": [ - { - "id": 426, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 427, - "name": "from", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The starting index from which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 428, - "name": "to", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The last index to which to limit the result, inclusive." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 429, - "name": "foreignTable", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The foreign table to use (for foreign columns).\n" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 430, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 431, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 98, - "character": 54 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 431 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 398, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 18, - "character": 2 - } - ], - "signatures": [ - { - "id": 399, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "typeParameter": [ - { - "id": 400, - "name": "Query", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "literal", - "value": "*" - } - }, - { - "id": 401, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 311, - "name": "Query" - }, - "extendsType": { - "type": "literal", - "value": "*" - }, - "trueType": { - "type": "literal", - "value": "*" - }, - "falseType": { - "type": "reference", - "id": 311, - "name": "Query" - } - } - ], - "name": "GetResult" - } - } - ], - "parameters": [ - { - "id": 402, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The columns to retrieve, separated by commas.\n" - }, - "type": { - "type": "reference", - "id": 311, - "name": "Query" - } - } - ], - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 312, - "name": "NewResult" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 435, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 119, - "character": 2 - } - ], - "signatures": [ - { - "id": 436, - "name": "single", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - } - ] - }, - { - "id": 467, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 468, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 469, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - }, - { - "id": 470, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 471, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 472, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 473, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 474, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 514, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 475, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 476, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 477, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 478, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 380, - "name": "TResult1" - }, - { - "type": "reference", - "id": 381, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "inheritedFrom": { - "type": "reference", - "id": 502, - "name": "default.then" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 501, - "name": "default.then" - } - }, - { - "id": 465, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 43, - "character": 2 - } - ], - "signatures": [ - { - "id": 466, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "reference", - "id": 392, - "typeArguments": [ - { - "type": "reference", - "id": 395, - "name": "Table" - }, - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 500, - "name": "default.throwOnError" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 499, - "name": "default.throwOnError" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 393 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 464, - 456, - 459, - 454, - 452, - 455, - 457, - 458, - 453 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 432, - 439, - 443, - 441, - 419, - 437, - 403, - 425, - 398, - 435, - 467, - 465 - ] - } - ], - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 9, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 479, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 480, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 481, - "typeArguments": [ - { - "type": "reference", - "id": 396, - "name": "Result" - } - ], - "name": "default" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 111, - "name": "PostgrestFilterBuilder" - } - ] - }, - { - "id": 520, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "shortText": "Error format", - "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" - }, - "sources": [ - { - "fileName": "src/types.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 521, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 525, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 12, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 523, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 10, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 524, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 522, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 525, - 523, - 524, - 522 - ] - } - ], - "sources": [ - { - "fileName": "src/types.ts", - "line": 8, - "character": 29 - } - ] - } - } - }, - { - "id": 518, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 45, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 519, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reference", - "id": 516, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 519, - "name": "T" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "name": "PostgrestSingleResponse" - } - }, - { - "id": 514, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 35, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 515, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 515, - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "name": "PostgrestResponseFailure" - } - ] - } - }, - { - "id": 516, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 42, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 517, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 517, - "name": "T" - } - ], - "name": "PostgrestSingleResponseSuccess" - }, - { - "type": "reference", - "name": "PostgrestResponseFailure" - } - ] - } - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 481, - 1, - 111, - 46, - 392 - ] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 520, - 518, - 514, - 516 - ] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] -} \ No newline at end of file + "id": 0, + "name": "@supabase/postgrest-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 481, + "name": "PostgrestBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isAbstract": true + }, + "children": [ + { + "id": 482, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 483, + "name": "new PostgrestBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 484, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 485, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 498, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 490, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 493, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 494, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 495, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 496, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 497, + "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": 488, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 486, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "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": 489, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 491, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 492, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 487, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 501, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 502, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 503, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 504, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 505, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 507, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 508, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 509, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 510, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 511, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 512, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 499, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 500, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [482] + }, + { + "title": "Properties", + "kind": 1024, + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] + }, + { + "title": "Methods", + "kind": 2048, + "children": [501, 499] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 5, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 513, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 392, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 484, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 1, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 29, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST 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", + "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", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 7, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 38, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 16, + "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": 10, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 36, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 11, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 37, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [12, 10, 11] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 20, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 22, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 23, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 24, + "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": 18, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 19, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 17, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 52, + "character": 2 + } + ], + "signatures": [ + { + "id": 26, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "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" + } + } + ], + "parameters": [ + { + "id": 29, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table name to operate on.\n" + }, + "type": { + "type": "reference", + "id": 27, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "id": 46, + "typeArguments": [ + { + "type": "reference", + "id": 28, + "name": "Table" + } + ], + "name": "default" + } + }, + { + "id": 30, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 31, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 46, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 32, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 73, + "character": 2 + } + ], + "signatures": [ + { + "id": 33, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 34, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 35, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 36, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call." + }, + "type": { + "type": "reference", + "id": 34, + "name": "FunctionName" + } + }, + { + "id": 37, + "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": 35, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 38, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters.\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 39, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 41, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 87, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 40, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 85, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 42, + "name": "rollback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Rollback the operation" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 89, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [41, 40, 42] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 35, + "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": 35, + "name": "Function_" + } + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [2] + }, + { + "title": "Properties", + "kind": 1024, + "children": [20, 18, 19, 17] + }, + { + "title": "Methods", + "kind": 2048, + "children": [25, 32] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 7, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 43, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 44, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + }, + "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": 45, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "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", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 111, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 112, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 113, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 114, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 115, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 116, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 394, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 393, + "name": "default.constructor" + } + }, + { + "id": 375, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 464, + "name": "default.allowEmpty" + } + }, + { + "id": 367, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 456, + "name": "default.body" + } + }, + { + "id": 370, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 371, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 372, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 373, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 374, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 459, + "name": "default.fetch" + } + }, + { + "id": 365, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 454, + "name": "default.headers" + } + }, + { + "id": 363, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 452, + "name": "default.method" + } + }, + { + "id": 366, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 455, + "name": "default.schema" + } + }, + { + "id": 368, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 457, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 369, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 458, + "name": "default.signal" + } + }, + { + "id": 364, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 453, + "name": "default.url" + } + }, + { + "id": 343, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 344, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 345, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 433, + "name": "default.abortSignal" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 432, + "name": "default.abortSignal" + } + }, + { + "id": 221, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 250, + "character": 2 + } + ], + "signatures": [ + { + "id": 222, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." + }, + "typeParameter": [ + { + "id": 223, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 224, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 223, + "name": "ColumnName" + } + }, + { + "id": 225, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 223, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 226, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 227, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 228, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 213, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 223, + "character": 2 + } + ], + "signatures": [ + { + "id": 214, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." + }, + "typeParameter": [ + { + "id": 215, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 216, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 215, + "name": "ColumnName" + } + }, + { + "id": 217, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 215, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 218, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 219, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 220, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 350, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 138, + "character": 2 + } + ], + "signatures": [ + { + "id": 351, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 440, + "name": "default.csv" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 439, + "name": "default.csv" + } + }, + { + "id": 133, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 72, + "character": 2 + } + ], + "signatures": [ + { + "id": 134, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 135, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 136, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 135, + "name": "ColumnName" + } + }, + { + "id": 137, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 135, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 138, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 139, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 140, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 354, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 160, + "character": 2 + } + ], + "signatures": [ + { + "id": 355, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Obtains the EXPLAIN plan for this request." + }, + "parameters": [ + { + "id": 356, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 357, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 358, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 361, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 170, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 360, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 169, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 359, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 362, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [358, 361, 360, 359, 362] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 444, + "name": "default.explain" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 443, + "name": "default.explain" + } + }, + { + "id": 293, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 406, + "character": 2 + } + ], + "signatures": [ + { + "id": 294, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose `column` satisfies the filter." + }, + "typeParameter": [ + { + "id": 295, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 296, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 295, + "name": "ColumnName" + } + }, + { + "id": 297, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with." + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "FilterOperator" + }, + { + "type": "literal", + "value": "not.eq" + }, + { + "type": "literal", + "value": "not.neq" + }, + { + "type": "literal", + "value": "not.gt" + }, + { + "type": "literal", + "value": "not.gte" + }, + { + "type": "literal", + "value": "not.lt" + }, + { + "type": "literal", + "value": "not.lte" + }, + { + "type": "literal", + "value": "not.like" + }, + { + "type": "literal", + "value": "not.ilike" + }, + { + "type": "literal", + "value": "not.is" + }, + { + "type": "literal", + "value": "not.in" + }, + { + "type": "literal", + "value": "not.cs" + }, + { + "type": "literal", + "value": "not.cd" + }, + { + "type": "literal", + "value": "not.sl" + }, + { + "type": "literal", + "value": "not.sr" + }, + { + "type": "literal", + "value": "not.nxl" + }, + { + "type": "literal", + "value": "not.nxr" + }, + { + "type": "literal", + "value": "not.adj" + }, + { + "type": "literal", + "value": "not.ov" + }, + { + "type": "literal", + "value": "not.fts" + }, + { + "type": "literal", + "value": "not.plfts" + }, + { + "type": "literal", + "value": "not.phfts" + }, + { + "type": "literal", + "value": "not.wfts" + } + ] + } + }, + { + "id": 298, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 299, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 300, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 301, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 352, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 353, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to GeoJSON." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 442, + "name": "default.geojson" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 441, + "name": "default.geojson" + } + }, + { + "id": 149, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 100, + "character": 2 + } + ], + "signatures": [ + { + "id": 150, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 151, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 152, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 151, + "name": "ColumnName" + } + }, + { + "id": 153, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 151, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 154, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 155, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 156, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 157, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 114, + "character": 2 + } + ], + "signatures": [ + { + "id": 158, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`." + }, + "typeParameter": [ + { + "id": 159, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 160, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 159, + "name": "ColumnName" + } + }, + { + "id": 161, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 159, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 162, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 163, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 164, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 189, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 170, + "character": 2 + } + ], + "signatures": [ + { + "id": 190, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)." + }, + "typeParameter": [ + { + "id": 191, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 192, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 191, + "name": "ColumnName" + } + }, + { + "id": 193, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 194, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 195, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 196, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 205, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 201, + "character": 2 + } + ], + "signatures": [ + { + "id": 206, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`." + }, + "typeParameter": [ + { + "id": 207, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 208, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 207, + "name": "ColumnName" + } + }, + { + "id": 209, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to filter with.\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 207, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 210, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 211, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 212, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 197, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 184, + "character": 2 + } + ], + "signatures": [ + { + "id": 198, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`." + }, + "typeParameter": [ + { + "id": 199, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 200, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 199, + "name": "ColumnName" + } + }, + { + "id": 201, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": false + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": true + } + ] + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 202, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 203, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 204, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 181, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 156, + "character": 2 + } + ], + "signatures": [ + { + "id": 182, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)." + }, + "typeParameter": [ + { + "id": 183, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 184, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 183, + "name": "ColumnName" + } + }, + { + "id": 185, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 186, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 187, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 330, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 2 + } + ], + "signatures": [ + { + "id": 331, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result with the specified `count`." + }, + "parameters": [ + { + "id": 332, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum no. of rows to limit to." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 333, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 335, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [335] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 420, + "name": "default.limit" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 419, + "name": "default.limit" + } + }, + { + "id": 165, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 128, + "character": 2 + } + ], + "signatures": [ + { + "id": 166, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 167, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 168, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 167, + "name": "ColumnName" + } + }, + { + "id": 169, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 167, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 170, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 171, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 172, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 173, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 142, + "character": 2 + } + ], + "signatures": [ + { + "id": 174, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`." + }, + "typeParameter": [ + { + "id": 175, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 176, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 175, + "name": "ColumnName" + } + }, + { + "id": 177, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 175, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 178, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 179, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 180, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 303, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 423, + "character": 2 + } + ], + "signatures": [ + { + "id": 304, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose columns match the specified `query` object." + }, + "typeParameter": [ + { + "id": 305, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 306, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\n to their filter values.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 305, + "name": "ColumnName" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 305, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 307, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 308, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 348, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 129, + "character": 2 + } + ], + "signatures": [ + { + "id": 349, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 518, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 438, + "name": "default.maybeSingle" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 437, + "name": "default.maybeSingle" + } + }, + { + "id": 141, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 86, + "character": 2 + } + ], + "signatures": [ + { + "id": 142, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 143, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 144, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 143, + "name": "ColumnName" + } + }, + { + "id": 145, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 143, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 146, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 147, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 148, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 117, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 42, + "character": 2 + } + ], + "signatures": [ + { + "id": 118, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows which doesn't satisfy the filter." + }, + "typeParameter": [ + { + "id": 119, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 120, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 119, + "name": "ColumnName" + } + }, + { + "id": 121, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with." + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 122, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 119, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 123, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 124, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 125, + "name": "operator", + "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": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 127, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 128, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows satisfying at least one of the filters." + }, + "parameters": [ + { + "id": 129, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, separated by commas." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 130, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (if `column` is a foreign column).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 131, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 132, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 59, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [132] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 314, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 315, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Orders the result with the specified `column`." + }, + "typeParameter": [ + { + "id": 316, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 317, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order on." + }, + "type": { + "type": "reference", + "id": 316, + "name": "ColumnName" + } + }, + { + "id": 318, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 320, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 322, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 321, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [320, 322, 321] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 404, + "name": "default.order" + } + }, + { + "id": 323, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 324, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 325, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 327, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 329, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [327, 329, 328] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 412, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 403, + "name": "default.order" + } + }, + { + "id": 269, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 346, + "character": 2 + } + ], + "signatures": [ + { + "id": 270, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`." + }, + "typeParameter": [ + { + "id": 271, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 272, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 271, + "name": "ColumnName" + } + }, + { + "id": 273, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 271, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 274, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 275, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 276, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 336, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 2 + } + ], + "signatures": [ + { + "id": 337, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result to rows within the specified range, inclusive." + }, + "parameters": [ + { + "id": 338, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 339, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 340, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 342, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [342] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 426, + "name": "default.range" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 425, + "name": "default.range" + } + }, + { + "id": 261, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 332, + "character": 2 + } + ], + "signatures": [ + { + "id": 262, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`." + }, + "typeParameter": [ + { + "id": 263, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 264, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 263, + "name": "ColumnName" + } + }, + { + "id": 265, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 266, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 267, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 268, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 237, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 290, + "character": 2 + } + ], + "signatures": [ + { + "id": 238, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." + }, + "typeParameter": [ + { + "id": 239, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 240, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 239, + "name": "ColumnName" + } + }, + { + "id": 241, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 242, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 243, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 244, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 245, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 304, + "character": 2 + } + ], + "signatures": [ + { + "id": 246, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." + }, + "typeParameter": [ + { + "id": 247, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 248, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 247, + "name": "ColumnName" + } + }, + { + "id": 249, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 250, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 251, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 252, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 229, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 276, + "character": 2 + } + ], + "signatures": [ + { + "id": 230, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." + }, + "typeParameter": [ + { + "id": 231, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 232, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 231, + "name": "ColumnName" + } + }, + { + "id": 233, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 234, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 235, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 253, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 318, + "character": 2 + } + ], + "signatures": [ + { + "id": 254, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + }, + "typeParameter": [ + { + "id": 255, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 256, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 255, + "name": "ColumnName" + } + }, + { + "id": 257, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 258, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 259, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 260, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 309, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 310, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 311, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 312, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 311, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 313, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas.\n" + }, + "type": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 312, + "name": "NewResult" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 399, + "name": "default.select" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 398, + "name": "default.select" + } + }, + { + "id": 346, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 347, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 436, + "name": "default.single" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 435, + "name": "default.single" + } + }, + { + "id": 277, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 371, + "character": 2 + } + ], + "signatures": [ + { + "id": 278, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`." + }, + "typeParameter": [ + { + "id": 279, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 280, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 279, + "name": "ColumnName" + } + }, + { + "id": 281, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 282, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 285, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [284, 285] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 286, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 287, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 288, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 289, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 290, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 291, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 379, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 292, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 379, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [291, 292] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 378, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 379, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 380, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 381, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 382, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 384, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 385, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 386, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 387, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 388, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 389, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 468, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 467, + "name": "default.then" + } + }, + { + "id": 376, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 377, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 466, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 465, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [112] + }, + { + "title": "Properties", + "kind": 1024, + "children": [375, 367, 370, 365, 363, 366, 368, 369, 364] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 343, 221, 213, 350, 133, 354, 293, 352, 149, 157, 189, 205, 197, 181, 330, 165, 173, + 303, 348, 141, 117, 127, 314, 269, 336, 261, 237, 245, 229, 253, 309, 346, 277, 378, 376 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 31, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 390, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 391, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + ] + }, + { + "id": 46, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 47, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 13, + "character": 2 + } + ], + "signatures": [ + { + "id": 48, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 49, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 50, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 51, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 52, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 55, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 22, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 56, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 57, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 58, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 59, + "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": 53, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 20, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 54, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 21, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [55, 53, 54] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 46, + "typeArguments": [ + { + "type": "reference", + "id": 49, + "name": "Table" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 64, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 65, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 66, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 67, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 68, + "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": 61, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 8, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 62, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 63, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 60, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 104, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 228, + "character": 2 + } + ], + "signatures": [ + { + "id": 105, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs a DELETE on the table." + }, + "parameters": [ + { + "id": 106, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 107, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 108, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 233, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 109, + "name": "rollback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Rollback the operation" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 235, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [108, 109] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 78, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 86, + "character": 2 + } + ], + "signatures": [ + { + "id": 79, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an INSERT into the table." + }, + "typeParameter": [ + { + "id": 80, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 81, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 80, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 80, + "name": "Row" + } + } + ] + } + }, + { + "id": 82, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 83, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 84, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 93, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 85, + "name": "rollback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Rollback the operation" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 95, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [84, 85] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 69, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 36, + "character": 2 + } + ], + "signatures": [ + { + "id": 70, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 71, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 72, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 71, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 71, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 73, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas.\n" + }, + "type": { + "type": "reference", + "id": 71, + "name": "Query" + } + }, + { + "id": 74, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 75, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 77, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 48, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 76, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to true, select will void data." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 46, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [77, 76] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "reference", + "id": 72, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 96, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 188, + "character": 2 + } + ], + "signatures": [ + { + "id": 97, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an UPDATE on the table." + }, + "typeParameter": [ + { + "id": 98, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 99, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to update.\n" + }, + "type": { + "type": "reference", + "id": 98, + "name": "Row" + } + }, + { + "id": 100, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 101, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 102, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 195, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 103, + "name": "rollback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Rollback the operation" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 197, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [102, 103] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 86, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 137, + "character": 2 + } + ], + "signatures": [ + { + "id": 87, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an UPSERT into the table." + }, + "typeParameter": [ + { + "id": 88, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 89, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 88, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 88, + "name": "Row" + } + } + ] + } + }, + { + "id": 90, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 91, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 93, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 148, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 94, + "name": "ignoreDuplicates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Specifies if duplicate rows should be ignored and not inserted." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 150, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 92, + "name": "onConflict", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint." + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 146, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 95, + "name": "rollback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Rollback the operation" + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 152, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [93, 94, 92, 95] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 49, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [47] + }, + { + "title": "Properties", + "kind": 1024, + "children": [64, 61, 62, 63, 60] + }, + { + "title": "Methods", + "kind": 2048, + "children": [104, 78, 69, 96, 86] + } + ], + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 6, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 110, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ] + }, + { + "id": 392, + "name": "PostgrestTransformBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Post-filters (transforms)" + }, + "children": [ + { + "id": 393, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 394, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 395, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 396, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 397, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 483, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 482, + "name": "default.constructor" + } + }, + { + "id": 464, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 498, + "name": "default.allowEmpty" + } + }, + { + "id": 456, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 490, + "name": "default.body" + } + }, + { + "id": 459, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 460, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 461, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 462, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 463, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 493, + "name": "default.fetch" + } + }, + { + "id": 454, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 488, + "name": "default.headers" + } + }, + { + "id": 452, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 486, + "name": "default.method" + } + }, + { + "id": 455, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 489, + "name": "default.schema" + } + }, + { + "id": 457, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 491, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 458, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 492, + "name": "default.signal" + } + }, + { + "id": 453, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 487, + "name": "default.url" + } + }, + { + "id": 432, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 433, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 434, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 439, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 138, + "character": 2 + } + ], + "signatures": [ + { + "id": 440, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 443, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 160, + "character": 2 + } + ], + "signatures": [ + { + "id": 444, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Obtains the EXPLAIN plan for this request." + }, + "parameters": [ + { + "id": 445, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 446, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 447, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 450, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 170, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 449, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 169, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 448, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 451, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [447, 450, 449, 448, 451] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 441, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 442, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to GeoJSON." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 419, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 2 + } + ], + "signatures": [ + { + "id": 420, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result with the specified `count`." + }, + "parameters": [ + { + "id": 421, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum no. of rows to limit to." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 422, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 423, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 424, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [424] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 437, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 129, + "character": 2 + } + ], + "signatures": [ + { + "id": 438, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 518, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 403, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 404, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Orders the result with the specified `column`." + }, + "typeParameter": [ + { + "id": 405, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 406, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order on." + }, + "type": { + "type": "reference", + "id": 316, + "name": "ColumnName" + } + }, + { + "id": 407, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 408, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 409, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 411, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 410, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [409, 411, 410] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 412, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 414, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 415, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 416, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 418, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 417, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [416, 418, 417] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 425, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 2 + } + ], + "signatures": [ + { + "id": 426, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result to rows within the specified range, inclusive." + }, + "parameters": [ + { + "id": 427, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 428, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 429, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 430, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 431, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [431] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 398, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 399, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 400, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 401, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 311, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 402, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas.\n" + }, + "type": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 312, + "name": "NewResult" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 435, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 436, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 467, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 468, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 469, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 470, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 471, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 472, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 473, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 474, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 514, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 475, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 476, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 477, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 478, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "TResult1" + }, + { + "type": "reference", + "id": 381, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 502, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 501, + "name": "default.then" + } + }, + { + "id": 465, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 2 + } + ], + "signatures": [ + { + "id": 466, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "reference", + "id": 392, + "typeArguments": [ + { + "type": "reference", + "id": 395, + "name": "Table" + }, + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 500, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 499, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [393] + }, + { + "title": "Properties", + "kind": 1024, + "children": [464, 456, 459, 454, 452, 455, 457, 458, 453] + }, + { + "title": "Methods", + "kind": 2048, + "children": [432, 439, 443, 441, 419, 437, 403, 425, 398, 435, 467, 465] + } + ], + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 9, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 479, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 480, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 481, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Result" + } + ], + "name": "default" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 111, + "name": "PostgrestFilterBuilder" + } + ] + }, + { + "id": 520, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 521, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 525, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 523, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 522, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [525, 523, 524, 522] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + }, + { + "id": 518, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 45, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 519, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 516, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 519, + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 514, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 35, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 515, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 515, + "name": "T" + } + ], + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 516, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 517, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 517, + "name": "T" + } + ], + "name": "PostgrestSingleResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [481, 1, 111, 46, 392] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [520, 518, 514, 516] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json index c8f2bde52a7..08f0dd7d378 100644 --- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json @@ -75,32 +75,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -733,32 +718,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -1112,11 +1082,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 12, - 10, - 11 - ] + "children": [12, 10, 11] } ] } @@ -1601,11 +1567,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 40, - 42 - ] + "children": [41, 40, 42] } ] } @@ -1718,27 +1680,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, - "children": [ - 20, - 18, - 19, - 17 - ] + "children": [20, 18, 19, 17] }, { "title": "Methods", "kind": 2048, - "children": [ - 25, - 32 - ] + "children": [25, 32] } ], "sources": [ @@ -2584,32 +2536,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -3830,13 +3767,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 358, - 361, - 360, - 359, - 362 - ] + "children": [358, 361, 360, 359, 362] } ] } @@ -5216,9 +5147,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 335 - ] + "children": [335] } ] } @@ -6142,9 +6071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132 - ] + "children": [132] } ] } @@ -6307,11 +6234,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 320, - 322, - 321 - ] + "children": [320, 322, 321] } ] } @@ -6439,11 +6362,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 327, - 329, - 328 - ] + "children": [327, 329, 328] } ] } @@ -6745,9 +6664,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342 - ] + "children": [342] } ] } @@ -7792,10 +7709,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 284, - 285 - ] + "children": [284, 285] } ] } @@ -7924,10 +7838,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 291, - 292 - ] + "children": [291, 292] } ] } @@ -8257,64 +8168,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 112 - ] + "children": [112] }, { "title": "Properties", "kind": 1024, - "children": [ - 375, - 367, - 370, - 365, - 363, - 366, - 368, - 369, - 364 - ] + "children": [375, 367, 370, 365, 363, 366, 368, 369, 364] }, { "title": "Methods", "kind": 2048, "children": [ - 343, - 221, - 213, - 350, - 133, - 354, - 293, - 352, - 149, - 157, - 189, - 205, - 197, - 181, - 330, - 165, - 173, - 303, - 348, - 141, - 117, - 127, - 314, - 269, - 336, - 261, - 237, - 245, - 229, - 253, - 309, - 346, - 277, - 378, - 376 + 343, 221, 213, 350, 133, 354, 293, 352, 149, 157, 189, 205, 197, 181, 330, 165, 173, + 303, 348, 141, 117, 127, 314, 269, 336, 261, 237, 245, 229, 253, 309, 346, 277, 378, 376 ] } ], @@ -8582,11 +8448,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 55, - 53, - 54 - ] + "children": [55, 53, 54] } ] } @@ -8882,10 +8744,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 108, - 109 - ] + "children": [108, 109] } ] } @@ -9075,10 +8934,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 85 - ] + "children": [84, 85] } ] } @@ -9296,10 +9152,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 77, - 76 - ] + "children": [77, 76] } ] } @@ -9478,10 +9331,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 102, - 103 - ] + "children": [102, 103] } ] } @@ -9717,12 +9567,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 93, - 94, - 92, - 95 - ] + "children": [93, 94, 92, 95] } ] } @@ -9761,31 +9606,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 47 - ] + "children": [47] }, { "title": "Properties", "kind": 1024, - "children": [ - 64, - 61, - 62, - 63, - 60 - ] + "children": [64, 61, 62, 63, 60] }, { "title": "Methods", "kind": 2048, - "children": [ - 104, - 78, - 69, - 96, - 86 - ] + "children": [104, 78, 69, 96, 86] } ], "sources": [ @@ -10523,32 +10354,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 482 - ] + "children": [482] }, { "title": "Properties", "kind": 1024, - "children": [ - 498, - 490, - 493, - 488, - 486, - 489, - 491, - 492, - 487 - ] + "children": [498, 490, 493, 488, 486, 489, 491, 492, 487] }, { "title": "Methods", "kind": 2048, - "children": [ - 501, - 499 - ] + "children": [501, 499] } ], "sources": [ @@ -11202,13 +11018,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 447, - 450, - 449, - 448, - 451 - ] + "children": [447, 450, 449, 448, 451] } ] } @@ -11389,9 +11199,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 424 - ] + "children": [424] } ] } @@ -11600,11 +11408,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 409, - 411, - 410 - ] + "children": [409, 411, 410] } ] } @@ -11727,11 +11531,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 416, - 418, - 417 - ] + "children": [416, 418, 417] } ] } @@ -11854,9 +11654,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 431 - ] + "children": [431] } ] } @@ -12352,42 +12150,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 393 - ] + "children": [393] }, { "title": "Properties", "kind": 1024, - "children": [ - 464, - 456, - 459, - 454, - 452, - 455, - 457, - 458, - 453 - ] + "children": [464, 456, 459, 454, 452, 455, 457, 458, 453] }, { "title": "Methods", "kind": 2048, - "children": [ - 432, - 439, - 443, - 441, - 419, - 437, - 403, - 425, - 398, - 435, - 467, - 465 - ] + "children": [432, 439, 443, 441, 419, 437, 403, 425, 398, 435, 467, 465] } ], "sources": [ @@ -12554,12 +12327,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 525, - 523, - 524, - 522 - ] + "children": [525, 523, 524, 522] } ], "sources": [ @@ -12707,23 +12475,12 @@ { "title": "Classes", "kind": 128, - "children": [ - 481, - 1, - 111, - 46, - 392 - ] + "children": [481, 1, 111, 46, 392] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 520, - 518, - 514, - 516 - ] + "children": [520, 518, 514, 516] } ], "sources": [ @@ -12733,4 +12490,4 @@ "character": 0 } ] -} \ No newline at end of file +} diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json index 57e9c532939..6d01dbffa80 100644 --- a/spec/enrichments/tsdoc_v2/realtime.json +++ b/spec/enrichments/tsdoc_v2/realtime.json @@ -1,5973 +1,5806 @@ { - "id": 0, - "name": "@supabase/realtime-js", - "kind": 1, - "kindString": "Project", - "flags": {}, - "originalName": "", - "children": [ - { - "id": 363, - "name": "Transformers", - "kind": 4, - "kindString": "Namespace", - "flags": {}, - "children": [ - { - "id": 364, - "name": "PostgresTypes", - "kind": 8, - "kindString": "Enumeration", - "flags": {}, - "comment": { - "shortText": "Helpers to convert the change Payload into native JS types." - }, - "children": [ - { - "id": 365, - "name": "abstime", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "abstime" - }, - "defaultValue": "\"abstime\"" - }, - { - "id": 366, - "name": "bool", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 10, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "bool" - }, - "defaultValue": "\"bool\"" - }, - { - "id": 367, - "name": "date", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "date" - }, - "defaultValue": "\"date\"" - }, - { - "id": 368, - "name": "daterange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 12, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "daterange" - }, - "defaultValue": "\"daterange\"" - }, - { - "id": 369, - "name": "float4", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 13, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "float4" - }, - "defaultValue": "\"float4\"" - }, - { - "id": 370, - "name": "float8", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "float8" - }, - "defaultValue": "\"float8\"" - }, - { - "id": 371, - "name": "int2", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "int2" - }, - "defaultValue": "\"int2\"" - }, - { - "id": 372, - "name": "int4", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "int4" - }, - "defaultValue": "\"int4\"" - }, - { - "id": 373, - "name": "int4range", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "int4range" - }, - "defaultValue": "\"int4range\"" - }, - { - "id": 374, - "name": "int8", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "int8" - }, - "defaultValue": "\"int8\"" - }, - { - "id": 375, - "name": "int8range", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "int8range" - }, - "defaultValue": "\"int8range\"" - }, - { - "id": 376, - "name": "json", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "json" - }, - "defaultValue": "\"json\"" - }, - { - "id": 377, - "name": "jsonb", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "jsonb" - }, - "defaultValue": "\"jsonb\"" - }, - { - "id": 378, - "name": "money", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "money" - }, - "defaultValue": "\"money\"" - }, - { - "id": 379, - "name": "numeric", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "numeric" - }, - "defaultValue": "\"numeric\"" - }, - { - "id": 380, - "name": "oid", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "oid" - }, - "defaultValue": "\"oid\"" - }, - { - "id": 381, - "name": "reltime", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "reltime" - }, - "defaultValue": "\"reltime\"" - }, - { - "id": 382, - "name": "text", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "text" - }, - "defaultValue": "\"text\"" - }, - { - "id": 383, - "name": "time", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 27, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "time" - }, - "defaultValue": "\"time\"" - }, - { - "id": 384, - "name": "timestamp", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "timestamp" - }, - "defaultValue": "\"timestamp\"" - }, - { - "id": 385, - "name": "timestamptz", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "timestamptz" - }, - "defaultValue": "\"timestamptz\"" - }, - { - "id": 386, - "name": "timetz", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "timetz" - }, - "defaultValue": "\"timetz\"" - }, - { - "id": 387, - "name": "tsrange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "tsrange" - }, - "defaultValue": "\"tsrange\"" - }, - { - "id": 388, - "name": "tstzrange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "literal", - "value": "tstzrange" - }, - "defaultValue": "\"tstzrange\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [ - 365, - 366, - 367, - 368, - 369, - 370, - 371, - 372, - 373, - 374, - 375, - 376, - 377, - 378, - 379, - 380, - 381, - 382, - 383, - 384, - 385, - 386, - 387, - 388 - ] - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 8, - "character": 12 - } - ] - }, - { - "id": 402, - "name": "convertCell", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 118, - "character": 13 - } - ], - "signatures": [ - { - "id": 403, - "name": "convertCell", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.", - "tags": [ - { - "tag": "example", - "text": "convertCell('bool', 't')\n//=> true" - }, - { - "tag": "example", - "text": "convertCell('int8', '10')\n//=> 10" - }, - { - "tag": "example", - "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n" - } - ] - }, - "parameters": [ - { - "id": 404, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A postgres column type" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 389, - "name": "convertChangeData", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 61, - "character": 13 - } - ], - "signatures": [ - { - "id": 390, - "name": "convertChangeData", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.", - "tags": [ - { - "tag": "example", - "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n" - } - ] - }, - "parameters": [ - { - "id": 391, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "Columns" - } - }, - { - "id": 392, - "name": "record", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": {}, - "type": { - "type": "reference", - "name": "Record" - } - }, - { - "id": 393, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The map of various options that can be applied to the mapper" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 394, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 395, - "name": "skipTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The array of types that should not be converted\n" - }, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 64, - "character": 13 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 395 - ] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "name": "Record" - } - } - ] - }, - { - "id": 396, - "name": "convertColumn", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 88, - "character": 13 - } - ], - "signatures": [ - { - "id": 397, - "name": "convertColumn", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Converts the value of an individual column.", - "returns": "Useless information\n", - "tags": [ - { - "tag": "example", - "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33" - }, - { - "tag": "example", - "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n" - } - ] - }, - "parameters": [ - { - "id": 398, - "name": "columnName", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column that you want to convert" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "Columns" - } - }, - { - "id": 400, - "name": "record", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The map of string values" - }, - "type": { - "type": "reference", - "name": "Record" - } - }, - { - "id": 401, - "name": "skipTypes", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "An array of types that should not be converted" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 415, - "name": "toArray", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 206, - "character": 13 - } - ], - "signatures": [ - { - "id": 416, - "name": "toArray", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Converts a Postgres Array into a native JS array", - "tags": [ - { - "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []" - }, - { - "tag": "example", - "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" - }, - { - "tag": "example", - "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" - } - ] - }, - "parameters": [ - { - "id": 417, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - }, - { - "id": 418, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 406, - "name": "toBoolean", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 165, - "character": 13 - } - ], - "signatures": [ - { - "id": 407, - "name": "toBoolean", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 408, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 412, - "name": "toJson", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 184, - "character": 13 - } - ], - "signatures": [ - { - "id": 413, - "name": "toJson", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 414, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 409, - "name": "toNumber", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 175, - "character": 13 - } - ], - "signatures": [ - { - "id": 410, - "name": "toNumber", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 411, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - }, - { - "id": 419, - "name": "toTimestampString", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 241, - "character": 13 - } - ], - "signatures": [ - { - "id": 420, - "name": "toTimestampString", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18", - "tags": [ - { - "tag": "example", - "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n" - } - ] - }, - "parameters": [ - { - "id": 421, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "name": "RecordValue" - } - } - ] - } - ], - "groups": [ - { - "title": "Enumerations", - "kind": 8, - "children": [ - 364 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [ - 402, - 389, - 396, - 415, - 406, - 412, - 409, - 419 - ] - } - ], - "sources": [ - { - "fileName": "lib/transformers.ts", - "line": 8, - "character": 0 - } - ] - }, - { - "id": 142, - "name": "RealtimeChannel", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 153, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 25, - "character": 2 - } - ], - "signatures": [ - { - "id": 154, - "name": "new RealtimeChannel", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 155, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 156, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 158, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 159, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 160, - "name": "socket", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ] - }, - { - "id": 161, - "name": "bindings", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 9, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 162, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 163, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 164, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 165, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 171, - "name": "callback", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 13, - "character": 6 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 167, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 12, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 168, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 12, - "character": 14 - } - ], - "indexSignature": { - "id": 169, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 170, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 172, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 14, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 166, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 11, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 10, - "character": 19 - } - ] - } - } - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 176, - "name": "joinPush", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 175, - "name": "joinedOnce", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 181, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 183, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 184, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 179, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 300, - "name": "default" - } - }, - { - "id": 178, - "name": "pushBuffer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "default" - } - }, - "defaultValue": "[]" - }, - { - "id": 177, - "name": "rejoinTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 185, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - }, - { - "id": 174, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 173, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 180, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 231, - "name": "canPush", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 282, - "character": 2 - } - ], - "signatures": [ - { - "id": 232, - "name": "canPush", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns `true` if the socket is connected and the channel has been joined." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 282, - "name": "isClosed", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 478, - "character": 2 - } - ], - "signatures": [ - { - "id": 283, - "name": "isClosed", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 284, - "name": "isErrored", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 481, - "character": 2 - } - ], - "signatures": [ - { - "id": 285, - "name": "isErrored", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 286, - "name": "isJoined", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 484, - "character": 2 - } - ], - "signatures": [ - { - "id": 287, - "name": "isJoined", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 288, - "name": "isJoining", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 487, - "character": 2 - } - ], - "signatures": [ - { - "id": 289, - "name": "isJoining", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 290, - "name": "isLeaving", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 490, - "character": 2 - } - ], - "signatures": [ - { - "id": 291, - "name": "isLeaving", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 266, - "name": "isMember", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 385, - "character": 2 - } - ], - "signatures": [ - { - "id": 267, - "name": "isMember", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 268, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 269, - "name": "joinRef", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 389, - "character": 2 - } - ], - "signatures": [ - { - "id": 270, - "name": "joinRef", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 224, - "name": "off", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 267, - "character": 2 - } - ], - "signatures": [ - { - "id": 225, - "name": "off", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 226, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 227, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 228, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 229, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 230, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ] - }, - { - "id": 216, - "name": "on", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 249, - "character": 2 - } - ], - "signatures": [ - { - "id": 217, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "returns": "\n" - }, - "parameters": [ - { - "id": 218, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "\"postgres_changes\" is the only type supported at this time" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 219, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "An object with an event property and a schema property. Event property can be `*`, `insert`, `create`, `update`, or `delete`." - }, - "type": { - "type": "reflection", - "declaration": { - "id": 220, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 221, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 222, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 223, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A callback function that will be called when the channel receives a message." - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ] - }, - { - "id": 210, - "name": "onClose", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 231, - "character": 2 - } - ], - "signatures": [ - { - "id": 211, - "name": "onClose", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Registers a callback that will be executed when the channel closes." - }, - "parameters": [ - { - "id": 212, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 213, - "name": "onError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 238, - "character": 2 - } - ], - "signatures": [ - { - "id": 214, - "name": "onError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Registers a callback that will be executed when the channel encounteres an error." - }, - "parameters": [ - { - "id": 215, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 261, - "name": "onMessage", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 381, - "character": 2 - } - ], - "signatures": [ - { - "id": 262, - "name": "onMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Overridable message hook", - "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n" - }, - "parameters": [ - { - "id": 263, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 264, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 265, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 192, - "name": "presenceState", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 198, - "character": 2 - } - ], - "signatures": [ - { - "id": 193, - "name": "presenceState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "name": "PresenceState" - } - } - ] - }, - { - "id": 233, - "name": "push", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 286, - "character": 2 - } - ], - "signatures": [ - { - "id": 234, - "name": "push", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 235, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 236, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 238, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 239, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 240, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "name": "default" - } - } - ] - }, - { - "id": 271, - "name": "rejoin", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 393, - "character": 2 - } - ], - "signatures": [ - { - "id": 272, - "name": "rejoin", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 273, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 186, - "name": "rejoinUntilConnected", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 187, - "name": "rejoinUntilConnected", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 279, - "name": "replyEventName", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 474, - "character": 2 - } - ], - "signatures": [ - { - "id": 280, - "name": "replyEventName", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 281, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 241, - "name": "send", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 301, - "character": 2 - } - ], - "signatures": [ - { - "id": 242, - "name": "send", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 243, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 245, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 302, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 245 - ] - } - ], - "indexSignature": { - "id": 246, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 247, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 248, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 249, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 250, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 251, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "rate limited" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 188, - "name": "subscribe", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 189, - "name": "subscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 190, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 191, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 194, - "name": "track", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 202, - "character": 8 - } - ], - "signatures": [ - { - "id": 195, - "name": "track", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 196, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 198, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 199, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 200, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 202, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 203, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "rate limited" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 274, - "name": "trigger", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 402, - "character": 2 - } - ], - "signatures": [ - { - "id": 275, - "name": "trigger", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 276, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 277, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 278, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 258, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 341, - "character": 2 - } - ], - "signatures": [ - { - "id": 259, - "name": "unsubscribe", - "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" - }, - "parameters": [ - { - "id": 260, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 204, - "name": "untrack", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 216, - "character": 8 - } - ], - "signatures": [ - { - "id": 205, - "name": "untrack", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 206, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 207, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 208, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 209, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "rate limited" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 252, - "name": "updateJoinPayload", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 328, - "character": 2 - } - ], - "signatures": [ - { - "id": 253, - "name": "updateJoinPayload", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 254, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 255, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 256, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 257, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 153 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 8, - "character": 21 - } - ] - }, - { - "id": 1, - "name": "RealtimeClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 2, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 89, - "character": 2 - } - ], - "signatures": [ - { - "id": 3, - "name": "new RealtimeClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Initializes the Socket." - }, - "parameters": [ - { - "id": 4, - "name": "endPoint", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 125, - "name": "Options" - } - } - ], - "type": { - "type": "reference", - "id": 1, - "name": "default" - } - } - ] - }, - { - "id": 6, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 42, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 7, - "name": "channels", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 43, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 142, - "name": "default" - } - }, - "defaultValue": "[]" - }, - { - "id": 28, - "name": "conn", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 58, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 26, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 25, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 55, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 8, - "name": "endPoint", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "''" - }, - { - "id": 37, - "name": "eventsPerSecondLimitMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "100" - }, - { - "id": 9, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 10, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 11, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 12, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "DEFAULT_HEADERS" - }, - { - "id": 19, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 49, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "30000" - }, - { - "id": 20, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 50, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "qualifiedName": "global.NodeJS.Timer", - "package": "@types/node", - "name": "Timer" - } - ] - }, - "defaultValue": "undefined" - }, - { - "id": 38, - "name": "inThrottle", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 24, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - }, - "defaultValue": "noop" - }, - { - "id": 13, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 14, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 15, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 16, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 21, - "name": "pendingHeartbeatRef", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 27, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 23, - "name": "reconnectTimer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 53, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 22, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 52, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "0" - }, - { - "id": 29, - "name": "sendBuffer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - "defaultValue": "[]" - }, - { - "id": 30, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 60, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 31, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 61, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 32, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 34, - "name": "close", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 63, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 35, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 64, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 36, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 65, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 33, - "name": "open", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 17, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 18, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 48, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - }, - "defaultValue": "w3cwebsocket" - }, - { - "id": 76, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 278, - "character": 2 - } - ], - "signatures": [ - { - "id": 77, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 78, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 79, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "ChannelParams" - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ] - }, - { - "id": 39, - "name": "connect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 126, - "character": 2 - } - ], - "signatures": [ - { - "id": 40, - "name": "connect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Connects the socket, unless already connected." - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 69, - "name": "connectionState", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 247, - "character": 2 - } - ], - "signatures": [ - { - "id": 70, - "name": "connectionState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the current state of the socket." - }, - "type": { - "type": "reference", - "name": "CONNECTION_STATE" - } - } - ] - }, - { - "id": 41, - "name": "disconnect", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 148, - "character": 2 - } - ], - "signatures": [ - { - "id": 42, - "name": "disconnect", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Disconnects the socket." - }, - "parameters": [ - { - "id": 43, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A numeric status code to send on disconnect." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 44, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom reason for the disconnect.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 88, - "name": "endPointURL", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 345, - "character": 2 - } - ], - "signatures": [ - { - "id": 89, - "name": "endPointURL", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the URL of the websocket." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 45, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 163, - "character": 2 - } - ], - "signatures": [ - { - "id": 46, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 142, - "name": "default" - } - } - } - ] - }, - { - "id": 71, - "name": "isConnected", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 263, - "character": 2 - } - ], - "signatures": [ - { - "id": 72, - "name": "isConnected", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retuns `true` is the connection is open." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 95, - "name": "leaveOpenTopic", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 386, - "character": 2 - } - ], - "signatures": [ - { - "id": 96, - "name": "leaveOpenTopic", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribe from channels with the specified topic." - }, - "parameters": [ - { - "id": 97, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 52, - "name": "log", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 192, - "character": 2 - } - ], - "signatures": [ - { - "id": 53, - "name": "log", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Logs the message.", - "text": "For customized logging, `this.logger` can be overriden.\n" - }, - "parameters": [ - { - "id": 54, - "name": "kind", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 55, - "name": "msg", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 56, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 90, - "name": "makeRef", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 355, - "character": 2 - } - ], - "signatures": [ - { - "id": 91, - "name": "makeRef", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Return the next message ref, accounting for overflows" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 60, - "name": "onClose", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 216, - "character": 2 - } - ], - "signatures": [ - { - "id": 61, - "name": "onClose", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Registers a callback for connection state change events.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n" - } - ] - }, - "parameters": [ - { - "id": 62, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 83, - "name": "onConnMessage", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 315, - "character": 2 - } - ], - "signatures": [ - { - "id": 84, - "name": "onConnMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 85, - "name": "rawMessage", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 87, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 315, - "character": 30 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 87 - ] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 63, - "name": "onError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 228, - "character": 2 - } - ], - "signatures": [ - { - "id": 64, - "name": "onError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Registers a callback for connection state change events.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n" - } - ] - }, - "parameters": [ - { - "id": 65, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 66, - "name": "onMessage", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 240, - "character": 2 - } - ], - "signatures": [ - { - "id": 67, - "name": "onMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Calls a function any time a message is received.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onMessage((message) => console.log(message))\n" - } - ] - }, - "parameters": [ - { - "id": 68, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 57, - "name": "onOpen", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 204, - "character": 2 - } - ], - "signatures": [ - { - "id": 58, - "name": "onOpen", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Registers a callback for connection state change event.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n" - } - ] - }, - "parameters": [ - { - "id": 59, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 80, - "name": "push", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 293, - "character": 2 - } - ], - "signatures": [ - { - "id": 81, - "name": "push", - "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" - }, - "parameters": [ - { - "id": 82, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "Message" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "literal", - "value": "rate limited" - } - ] - } - } - ] - }, - { - "id": 73, - "name": "remove", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 272, - "character": 2 - } - ], - "signatures": [ - { - "id": 74, - "name": "remove", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes a subscription from the socket." - }, - "parameters": [ - { - "id": 75, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "An open subscription.\n" - }, - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 50, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 178, - "character": 2 - } - ], - "signatures": [ - { - "id": 51, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 47, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 167, - "character": 2 - } - ], - "signatures": [ - { - "id": 48, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 49, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 92, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 371, - "character": 2 - } - ], - "signatures": [ - { - "id": 93, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." - }, - "parameters": [ - { - "id": 94, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A JWT string.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 2 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 41, - "character": 21 - } - ] - }, - { - "id": 300, - "name": "RealtimePresence", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 332, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 333, - "name": "new RealtimePresence", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Initializes the Presence." - }, - "parameters": [ - { - "id": 334, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The RealtimeChannel" - }, - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - }, - { - "id": 335, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOpts", - "package": "@types/phoenix", - "name": "PresenceOpts" - } - } - ], - "type": { - "type": "reference", - "id": 300, - "name": "default" - } - } - ] - }, - { - "id": 339, - "name": "caller", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 47, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 340, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 341, - "name": "onJoin", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 48, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 342, - "name": "onLeave", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 49, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - }, - { - "id": 343, - "name": "onSync", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 50, - "character": 4 - } - ], - "signatures": [ - { - "id": 344, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 341, - 342 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 343 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 345, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 142, - "name": "default" - } - }, - { - "id": 338, - "name": "joinRef", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "null" - }, - { - "id": 337, - "name": "pendingDiffs", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 45, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "RawPresenceDiff" - } - }, - "defaultValue": "[]" - }, - { - "id": 336, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 44, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "PresenceState" - }, - "defaultValue": "{}" - }, - { - "id": 357, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 345, - "character": 2 - } - ], - "signatures": [ - { - "id": 358, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 359, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 360, - "name": "by", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 359, - "name": "T" - } - ], - "name": "PresenceChooser" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 359, - "name": "T" - } - } - } - ] - }, - { - "id": 346, - "name": "onJoin", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 333, - "character": 2 - } - ], - "signatures": [ - { - "id": 347, - "name": "onJoin", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 348, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 349, - "name": "onLeave", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 337, - "character": 2 - } - ], - "signatures": [ - { - "id": 350, - "name": "onLeave", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 351, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 352, - "name": "onSync", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 341, - "character": 2 - } - ], - "signatures": [ - { - "id": 353, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 354, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 355, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 356, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 313, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true - }, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 263, - "character": 9 - } - ], - "signatures": [ - { - "id": 314, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns the array of presences, with selected metadata." - }, - "typeParameter": [ - { - "id": 315, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 316, - "name": "presences", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "PresenceState" - } - }, - { - "id": 317, - "name": "chooser", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 315, - "name": "T" - } - ], - "name": "PresenceChooser" - } - ] - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 315, - "name": "T" - } - } - } - ] - }, - { - "id": 307, - "name": "syncDiff", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true - }, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 201, - "character": 9 - } - ], - "signatures": [ - { - "id": 308, - "name": "syncDiff", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.", - "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n" - }, - "parameters": [ - { - "id": 309, - "name": "state", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "PresenceState" - } - }, - { - "id": 310, - "name": "diff", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "PresenceDiff" - }, - { - "type": "reference", - "name": "RawPresenceDiff" - } - ] - } - }, - { - "id": 311, - "name": "onJoin", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 312, - "name": "onLeave", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "reference", - "name": "PresenceState" - } - } - ] - }, - { - "id": 301, - "name": "syncState", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true - }, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 144, - "character": 9 - } - ], - "signatures": [ - { - "id": 302, - "name": "syncState", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Used to sync the list of presences on the server with the\nclient's state.", - "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n" - }, - "parameters": [ - { - "id": 303, - "name": "currentState", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "PresenceState" - } - }, - { - "id": 304, - "name": "newState", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "name": "PresenceState" - }, - { - "type": "reference", - "name": "RawPresenceState" - } - ] - } - }, - { - "id": 305, - "name": "onJoin", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 306, - "name": "onLeave", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "reference", - "name": "PresenceState" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 332 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 339, - 345, - 338, - 337, - 336 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 357, - 346, - 349, - 352, - 313, - 307, - 301 - ] - } - ], - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 43, - "character": 21 - } - ] - }, - { - "id": 125, - "name": "RealtimeClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 16, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 126, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 132, - "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": 131, - "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": 134, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 135, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 136, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 137, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 129, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 130, - "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": 138, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 139, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 140, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 141, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 133, - "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": 128, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 127, - "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": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 16, - "character": 22 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Namespaces", - "kind": 4, - "children": [ - 363 - ] - }, - { - "title": "Classes", - "kind": 128, - "children": [ - 142, - 1, - 300 - ] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 125 - ] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 1, - "character": 0 - } - ] -} \ No newline at end of file + "id": 0, + "name": "@supabase/realtime-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 363, + "name": "Transformers", + "kind": 4, + "kindString": "Namespace", + "flags": {}, + "children": [ + { + "id": 364, + "name": "PostgresTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "Helpers to convert the change Payload into native JS types." + }, + "children": [ + { + "id": 365, + "name": "abstime", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "abstime" + }, + "defaultValue": "\"abstime\"" + }, + { + "id": 366, + "name": "bool", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "bool" + }, + "defaultValue": "\"bool\"" + }, + { + "id": 367, + "name": "date", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "date" + }, + "defaultValue": "\"date\"" + }, + { + "id": 368, + "name": "daterange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "daterange" + }, + "defaultValue": "\"daterange\"" + }, + { + "id": 369, + "name": "float4", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 13, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "float4" + }, + "defaultValue": "\"float4\"" + }, + { + "id": 370, + "name": "float8", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "float8" + }, + "defaultValue": "\"float8\"" + }, + { + "id": 371, + "name": "int2", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "int2" + }, + "defaultValue": "\"int2\"" + }, + { + "id": 372, + "name": "int4", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "int4" + }, + "defaultValue": "\"int4\"" + }, + { + "id": 373, + "name": "int4range", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "int4range" + }, + "defaultValue": "\"int4range\"" + }, + { + "id": 374, + "name": "int8", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "int8" + }, + "defaultValue": "\"int8\"" + }, + { + "id": 375, + "name": "int8range", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "int8range" + }, + "defaultValue": "\"int8range\"" + }, + { + "id": 376, + "name": "json", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 20, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "json" + }, + "defaultValue": "\"json\"" + }, + { + "id": 377, + "name": "jsonb", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "jsonb" + }, + "defaultValue": "\"jsonb\"" + }, + { + "id": 378, + "name": "money", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "money" + }, + "defaultValue": "\"money\"" + }, + { + "id": 379, + "name": "numeric", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "numeric" + }, + "defaultValue": "\"numeric\"" + }, + { + "id": 380, + "name": "oid", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "oid" + }, + "defaultValue": "\"oid\"" + }, + { + "id": 381, + "name": "reltime", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "reltime" + }, + "defaultValue": "\"reltime\"" + }, + { + "id": 382, + "name": "text", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "text" + }, + "defaultValue": "\"text\"" + }, + { + "id": 383, + "name": "time", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 27, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "time" + }, + "defaultValue": "\"time\"" + }, + { + "id": 384, + "name": "timestamp", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "timestamp" + }, + "defaultValue": "\"timestamp\"" + }, + { + "id": 385, + "name": "timestamptz", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 29, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "timestamptz" + }, + "defaultValue": "\"timestamptz\"" + }, + { + "id": 386, + "name": "timetz", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "timetz" + }, + "defaultValue": "\"timetz\"" + }, + { + "id": 387, + "name": "tsrange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "tsrange" + }, + "defaultValue": "\"tsrange\"" + }, + { + "id": 388, + "name": "tstzrange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": "tstzrange" + }, + "defaultValue": "\"tstzrange\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 8, + "character": 12 + } + ] + }, + { + "id": 402, + "name": "convertCell", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 118, + "character": 13 + } + ], + "signatures": [ + { + "id": 403, + "name": "convertCell", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.", + "tags": [ + { + "tag": "example", + "text": "convertCell('bool', 't')\n//=> true" + }, + { + "tag": "example", + "text": "convertCell('int8', '10')\n//=> 10" + }, + { + "tag": "example", + "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n" + } + ] + }, + "parameters": [ + { + "id": 404, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A postgres column type" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 405, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 389, + "name": "convertChangeData", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 61, + "character": 13 + } + ], + "signatures": [ + { + "id": 390, + "name": "convertChangeData", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.", + "tags": [ + { + "tag": "example", + "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n" + } + ] + }, + "parameters": [ + { + "id": 391, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "Columns" + } + }, + { + "id": 392, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": {}, + "type": { + "type": "reference", + "name": "Record" + } + }, + { + "id": 393, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The map of various options that can be applied to the mapper" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 394, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 395, + "name": "skipTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The array of types that should not be converted\n" + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 64, + "character": 13 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [395] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "name": "Record" + } + } + ] + }, + { + "id": 396, + "name": "convertColumn", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 88, + "character": 13 + } + ], + "signatures": [ + { + "id": 397, + "name": "convertColumn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Converts the value of an individual column.", + "returns": "Useless information\n", + "tags": [ + { + "tag": "example", + "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33" + }, + { + "tag": "example", + "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n" + } + ] + }, + "parameters": [ + { + "id": 398, + "name": "columnName", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column that you want to convert" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 399, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "Columns" + } + }, + { + "id": 400, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The map of string values" + }, + "type": { + "type": "reference", + "name": "Record" + } + }, + { + "id": 401, + "name": "skipTypes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "An array of types that should not be converted" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 415, + "name": "toArray", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 206, + "character": 13 + } + ], + "signatures": [ + { + "id": 416, + "name": "toArray", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Converts a Postgres Array into a native JS array", + "tags": [ + { + "tag": "example", + "text": "toArray('{}', 'int4')\n//=> []" + }, + { + "tag": "example", + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" + } + ] + }, + "parameters": [ + { + "id": 417, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + }, + { + "id": 418, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 406, + "name": "toBoolean", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 165, + "character": 13 + } + ], + "signatures": [ + { + "id": 407, + "name": "toBoolean", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 408, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 412, + "name": "toJson", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 184, + "character": 13 + } + ], + "signatures": [ + { + "id": 413, + "name": "toJson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 414, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 409, + "name": "toNumber", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 175, + "character": 13 + } + ], + "signatures": [ + { + "id": 410, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 411, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + }, + { + "id": 419, + "name": "toTimestampString", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 241, + "character": 13 + } + ], + "signatures": [ + { + "id": 420, + "name": "toTimestampString", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18", + "tags": [ + { + "tag": "example", + "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n" + } + ] + }, + "parameters": [ + { + "id": 421, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "name": "RecordValue" + } + } + ] + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [364] + }, + { + "title": "Functions", + "kind": 64, + "children": [402, 389, 396, 415, 406, 412, 409, 419] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 8, + "character": 0 + } + ] + }, + { + "id": 142, + "name": "RealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 153, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 25, + "character": 2 + } + ], + "signatures": [ + { + "id": 154, + "name": "new RealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 155, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 156, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 157, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 158, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 159, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 160, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ] + }, + { + "id": 161, + "name": "bindings", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 163, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 164, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 171, + "name": "callback", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 13, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 167, + "name": "filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 12, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 168, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 12, + "character": 14 + } + ], + "indexSignature": { + "id": 169, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 170, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 172, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 14, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 166, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 11, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [171, 167, 172, 166] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 10, + "character": 19 + } + ] + } + } + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 176, + "name": "joinPush", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 20, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 175, + "name": "joinedOnce", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 181, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 182, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 183, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 184, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 179, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 300, + "name": "default" + } + }, + { + "id": 178, + "name": "pushBuffer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "default" + } + }, + "defaultValue": "[]" + }, + { + "id": 177, + "name": "rejoinTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 21, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 185, + "name": "socket", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + }, + { + "id": 174, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "CHANNEL_STATES" + }, + "defaultValue": "CHANNEL_STATES.closed" + }, + { + "id": 173, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 180, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 231, + "name": "canPush", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 282, + "character": 2 + } + ], + "signatures": [ + { + "id": 232, + "name": "canPush", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns `true` if the socket is connected and the channel has been joined." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 282, + "name": "isClosed", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 478, + "character": 2 + } + ], + "signatures": [ + { + "id": 283, + "name": "isClosed", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 284, + "name": "isErrored", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 481, + "character": 2 + } + ], + "signatures": [ + { + "id": 285, + "name": "isErrored", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 286, + "name": "isJoined", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 484, + "character": 2 + } + ], + "signatures": [ + { + "id": 287, + "name": "isJoined", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 288, + "name": "isJoining", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 487, + "character": 2 + } + ], + "signatures": [ + { + "id": 289, + "name": "isJoining", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 290, + "name": "isLeaving", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 490, + "character": 2 + } + ], + "signatures": [ + { + "id": 291, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 266, + "name": "isMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 385, + "character": 2 + } + ], + "signatures": [ + { + "id": 267, + "name": "isMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 268, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 269, + "name": "joinRef", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 389, + "character": 2 + } + ], + "signatures": [ + { + "id": 270, + "name": "joinRef", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 224, + "name": "off", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 267, + "character": 2 + } + ], + "signatures": [ + { + "id": 225, + "name": "off", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 226, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 227, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 228, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 229, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 230, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ] + }, + { + "id": 216, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 249, + "character": 2 + } + ], + "signatures": [ + { + "id": 217, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "returns": "\n" + }, + "parameters": [ + { + "id": 218, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "\"postgres_changes\" is the only type supported at this time" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 219, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "An object with an event property and a schema property. Event property can be `*`, `insert`, `create`, `update`, or `delete`." + }, + "type": { + "type": "reflection", + "declaration": { + "id": 220, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 221, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 222, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 223, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A callback function that will be called when the channel receives a message." + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ] + }, + { + "id": 210, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 231, + "character": 2 + } + ], + "signatures": [ + { + "id": 211, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Registers a callback that will be executed when the channel closes." + }, + "parameters": [ + { + "id": 212, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 213, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 238, + "character": 2 + } + ], + "signatures": [ + { + "id": 214, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Registers a callback that will be executed when the channel encounteres an error." + }, + "parameters": [ + { + "id": 215, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 261, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 381, + "character": 2 + } + ], + "signatures": [ + { + "id": 262, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Overridable message hook", + "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n" + }, + "parameters": [ + { + "id": 263, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 264, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 265, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 192, + "name": "presenceState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 198, + "character": 2 + } + ], + "signatures": [ + { + "id": 193, + "name": "presenceState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "PresenceState" + } + } + ] + }, + { + "id": 233, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 286, + "character": 2 + } + ], + "signatures": [ + { + "id": 234, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 235, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 237, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 238, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 239, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 240, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "name": "default" + } + } + ] + }, + { + "id": 271, + "name": "rejoin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 393, + "character": 2 + } + ], + "signatures": [ + { + "id": 272, + "name": "rejoin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 273, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 186, + "name": "rejoinUntilConnected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 187, + "name": "rejoinUntilConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 279, + "name": "replyEventName", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 474, + "character": 2 + } + ], + "signatures": [ + { + "id": 280, + "name": "replyEventName", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 281, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 241, + "name": "send", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 301, + "character": 2 + } + ], + "signatures": [ + { + "id": 242, + "name": "send", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 243, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 245, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 302, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [245] + } + ], + "indexSignature": { + "id": 246, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 247, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 248, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 250, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 251, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "rate limited" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 188, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 189, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 190, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 191, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 194, + "name": "track", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 202, + "character": 8 + } + ], + "signatures": [ + { + "id": 195, + "name": "track", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 196, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 198, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 199, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 200, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 201, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 202, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 203, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "rate limited" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 274, + "name": "trigger", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 402, + "character": 2 + } + ], + "signatures": [ + { + "id": 275, + "name": "trigger", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 276, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 277, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 278, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 258, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 341, + "character": 2 + } + ], + "signatures": [ + { + "id": 259, + "name": "unsubscribe", + "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" + }, + "parameters": [ + { + "id": 260, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 204, + "name": "untrack", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 216, + "character": 8 + } + ], + "signatures": [ + { + "id": 205, + "name": "untrack", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 206, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 207, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 208, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 209, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "rate limited" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 252, + "name": "updateJoinPayload", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 328, + "character": 2 + } + ], + "signatures": [ + { + "id": 253, + "name": "updateJoinPayload", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 254, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 256, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 257, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [153] + }, + { + "title": "Properties", + "kind": 1024, + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, 233, 271, 186, + 279, 241, 188, 194, 274, 258, 204, 252 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 8, + "character": 21 + } + ] + }, + { + "id": 1, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 89, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new RealtimeClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Initializes the Socket." + }, + "parameters": [ + { + "id": 4, + "name": "endPoint", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 125, + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ] + }, + { + "id": 6, + "name": "accessToken", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 42, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 7, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 142, + "name": "default" + } + }, + "defaultValue": "[]" + }, + { + "id": 28, + "name": "conn", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 58, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 26, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 25, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 8, + "name": "endPoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "''" + }, + { + "id": 37, + "name": "eventsPerSecondLimitMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "100" + }, + { + "id": 9, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 10, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 11, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 12, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "DEFAULT_HEADERS" + }, + { + "id": 19, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 20, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 50, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "qualifiedName": "global.NodeJS.Timer", + "package": "@types/node", + "name": "Timer" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 38, + "name": "inThrottle", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 24, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 54, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 13, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 14, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 15, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 16, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 21, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 27, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 23, + "name": "reconnectTimer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 53, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + } + }, + { + "id": 22, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 52, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0" + }, + { + "id": 29, + "name": "sendBuffer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 30, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 60, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "default" + }, + "defaultValue": "..." + }, + { + "id": 31, + "name": "stateChangeCallbacks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 32, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 34, + "name": "close", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 63, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 35, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 64, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 36, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 65, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 33, + "name": "open", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 62, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [34, 35, 36, 33] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 17, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "DEFAULT_TIMEOUT" + }, + { + "id": 18, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": "w3cwebsocket" + }, + { + "id": 76, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 278, + "character": 2 + } + ], + "signatures": [ + { + "id": 77, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 78, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 79, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "ChannelParams" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ] + }, + { + "id": 39, + "name": "connect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 126, + "character": 2 + } + ], + "signatures": [ + { + "id": 40, + "name": "connect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Connects the socket, unless already connected." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 69, + "name": "connectionState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 247, + "character": 2 + } + ], + "signatures": [ + { + "id": 70, + "name": "connectionState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the current state of the socket." + }, + "type": { + "type": "reference", + "name": "CONNECTION_STATE" + } + } + ] + }, + { + "id": 41, + "name": "disconnect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 148, + "character": 2 + } + ], + "signatures": [ + { + "id": 42, + "name": "disconnect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Disconnects the socket." + }, + "parameters": [ + { + "id": 43, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A numeric status code to send on disconnect." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 44, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom reason for the disconnect.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 88, + "name": "endPointURL", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 345, + "character": 2 + } + ], + "signatures": [ + { + "id": 89, + "name": "endPointURL", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the URL of the websocket." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 45, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 163, + "character": 2 + } + ], + "signatures": [ + { + "id": 46, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 142, + "name": "default" + } + } + } + ] + }, + { + "id": 71, + "name": "isConnected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 263, + "character": 2 + } + ], + "signatures": [ + { + "id": 72, + "name": "isConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retuns `true` is the connection is open." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 95, + "name": "leaveOpenTopic", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 386, + "character": 2 + } + ], + "signatures": [ + { + "id": 96, + "name": "leaveOpenTopic", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribe from channels with the specified topic." + }, + "parameters": [ + { + "id": 97, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 52, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 192, + "character": 2 + } + ], + "signatures": [ + { + "id": 53, + "name": "log", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Logs the message.", + "text": "For customized logging, `this.logger` can be overriden.\n" + }, + "parameters": [ + { + "id": 54, + "name": "kind", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 55, + "name": "msg", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 56, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 90, + "name": "makeRef", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 355, + "character": 2 + } + ], + "signatures": [ + { + "id": 91, + "name": "makeRef", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Return the next message ref, accounting for overflows" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 60, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 216, + "character": 2 + } + ], + "signatures": [ + { + "id": 61, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Registers a callback for connection state change events.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n" + } + ] + }, + "parameters": [ + { + "id": 62, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 83, + "name": "onConnMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 315, + "character": 2 + } + ], + "signatures": [ + { + "id": 84, + "name": "onConnMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 85, + "name": "rawMessage", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 86, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 87, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 315, + "character": 30 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [87] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 63, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 228, + "character": 2 + } + ], + "signatures": [ + { + "id": 64, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Registers a callback for connection state change events.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n" + } + ] + }, + "parameters": [ + { + "id": 65, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 66, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 240, + "character": 2 + } + ], + "signatures": [ + { + "id": 67, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Calls a function any time a message is received.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onMessage((message) => console.log(message))\n" + } + ] + }, + "parameters": [ + { + "id": 68, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 57, + "name": "onOpen", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 204, + "character": 2 + } + ], + "signatures": [ + { + "id": 58, + "name": "onOpen", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Registers a callback for connection state change event.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n" + } + ] + }, + "parameters": [ + { + "id": 59, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 80, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 293, + "character": 2 + } + ], + "signatures": [ + { + "id": 81, + "name": "push", + "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" + }, + "parameters": [ + { + "id": 82, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "Message" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "literal", + "value": "rate limited" + } + ] + } + } + ] + }, + { + "id": 73, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 272, + "character": 2 + } + ], + "signatures": [ + { + "id": 74, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes a subscription from the socket." + }, + "parameters": [ + { + "id": 75, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "An open subscription.\n" + }, + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 50, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 178, + "character": 2 + } + ], + "signatures": [ + { + "id": 51, + "name": "removeAllChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 47, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 167, + "character": 2 + } + ], + "signatures": [ + { + "id": 48, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 49, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 92, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 371, + "character": 2 + } + ], + "signatures": [ + { + "id": 93, + "name": "setAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." + }, + "parameters": [ + { + "id": 94, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A JWT string.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [2] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, 23, 22, 29, 30, 31, 17, 18 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, 57, 80, 73, 50, 47, 92 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 41, + "character": 21 + } + ] + }, + { + "id": 300, + "name": "RealtimePresence", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 332, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 64, + "character": 2 + } + ], + "signatures": [ + { + "id": 333, + "name": "new RealtimePresence", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Initializes the Presence." + }, + "parameters": [ + { + "id": 334, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The RealtimeChannel" + }, + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + }, + { + "id": 335, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOpts", + "package": "@types/phoenix", + "name": "PresenceOpts" + } + } + ], + "type": { + "type": "reference", + "id": 300, + "name": "default" + } + } + ] + }, + { + "id": 339, + "name": "caller", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 47, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 341, + "name": "onJoin", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 48, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 342, + "name": "onLeave", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 49, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + }, + { + "id": 343, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 50, + "character": 4 + } + ], + "signatures": [ + { + "id": 344, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [341, 342] + }, + { + "title": "Methods", + "kind": 2048, + "children": [343] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 345, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true + }, + "type": { + "type": "reference", + "id": 142, + "name": "default" + } + }, + { + "id": 338, + "name": "joinRef", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 337, + "name": "pendingDiffs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 45, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "RawPresenceDiff" + } + }, + "defaultValue": "[]" + }, + { + "id": 336, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 44, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "PresenceState" + }, + "defaultValue": "{}" + }, + { + "id": 357, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 345, + "character": 2 + } + ], + "signatures": [ + { + "id": 358, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 359, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 360, + "name": "by", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 359, + "name": "T" + } + ], + "name": "PresenceChooser" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 359, + "name": "T" + } + } + } + ] + }, + { + "id": 346, + "name": "onJoin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 333, + "character": 2 + } + ], + "signatures": [ + { + "id": 347, + "name": "onJoin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 348, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 349, + "name": "onLeave", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 337, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "onLeave", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 351, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 352, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 341, + "character": 2 + } + ], + "signatures": [ + { + "id": 353, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 354, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 355, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 356, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 313, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 263, + "character": 9 + } + ], + "signatures": [ + { + "id": 314, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns the array of presences, with selected metadata." + }, + "typeParameter": [ + { + "id": 315, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 316, + "name": "presences", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "PresenceState" + } + }, + { + "id": 317, + "name": "chooser", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 315, + "name": "T" + } + ], + "name": "PresenceChooser" + } + ] + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 315, + "name": "T" + } + } + } + ] + }, + { + "id": 307, + "name": "syncDiff", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 201, + "character": 9 + } + ], + "signatures": [ + { + "id": 308, + "name": "syncDiff", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.", + "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n" + }, + "parameters": [ + { + "id": 309, + "name": "state", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "PresenceState" + } + }, + { + "id": 310, + "name": "diff", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "PresenceDiff" + }, + { + "type": "reference", + "name": "RawPresenceDiff" + } + ] + } + }, + { + "id": 311, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 312, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "name": "PresenceState" + } + } + ] + }, + { + "id": 301, + "name": "syncState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 144, + "character": 9 + } + ], + "signatures": [ + { + "id": 302, + "name": "syncState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Used to sync the list of presences on the server with the\nclient's state.", + "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n" + }, + "parameters": [ + { + "id": 303, + "name": "currentState", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "PresenceState" + } + }, + { + "id": 304, + "name": "newState", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "PresenceState" + }, + { + "type": "reference", + "name": "RawPresenceState" + } + ] + } + }, + { + "id": 305, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 306, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "name": "PresenceState" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [332] + }, + { + "title": "Properties", + "kind": 1024, + "children": [339, 345, 338, 337, 336] + }, + { + "title": "Methods", + "kind": 2048, + "children": [357, 346, 349, 352, 313, 307, 301] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 43, + "character": 21 + } + ] + }, + { + "id": 125, + "name": "RealtimeClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 126, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 132, + "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": 131, + "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": 134, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 135, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 24, + "character": 12 + } + ], + "indexSignature": { + "id": 136, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 137, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 129, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 130, + "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": 138, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 139, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 11 + } + ], + "indexSignature": { + "id": 140, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 141, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 133, + "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": 128, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 127, + "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": [132, 131, 134, 129, 130, 138, 133, 128, 127] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 16, + "character": 22 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Namespaces", + "kind": 4, + "children": [363] + }, + { + "title": "Classes", + "kind": 128, + "children": [142, 1, 300] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [125] + } + ], + "sources": [ + { + "fileName": "index.ts", + "line": 1, + "character": 0 + } + ] +} diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json index d69a5c5c2cf..db0f0d4dbb5 100644 --- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json @@ -485,30 +485,8 @@ "title": "Enumeration Members", "kind": 16, "children": [ - 365, - 366, - 367, - 368, - 369, - 370, - 371, - 372, - 373, - 374, - 375, - 376, - 377, - 378, - 379, - 380, - 381, - 382, - 383, - 384, - 385, - 386, - 387, - 388 + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388 ] } ], @@ -693,9 +671,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 395 - ] + "children": [395] } ] } @@ -1051,23 +1027,12 @@ { "title": "Enumerations", "kind": 8, - "children": [ - 364 - ] + "children": [364] }, { "title": "Functions", "kind": 64, - "children": [ - 402, - 389, - 396, - 415, - 406, - 412, - 409, - 419 - ] + "children": [402, 389, 396, 415, 406, 412, 409, 419] } ], "sources": [ @@ -1515,15 +1480,7 @@ "title": "Properties", "kind": 1024, "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 + 132, 131, 134, 129, 130, 138, 133, 128, 127 ] } ], @@ -2143,12 +2100,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -2715,9 +2667,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -2994,56 +2944,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 + 161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180 ] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, + 213, 261, 192, 233, 271, 186, 279, 241, 188, 194, 274, + 258, 204, 252 ] } ], @@ -3158,56 +3074,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 + 161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180 ] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, + 213, 261, 192, 233, 271, 186, 279, 241, 188, 194, 274, + 258, 204, 252 ] } ], @@ -3310,62 +3192,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, 23, 22, 29, 30, + 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, 57, 80, 73, 50, + 47, 92 ] } ], @@ -3555,12 +3397,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -4644,9 +4481,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -5229,56 +5064,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, 233, 271, 186, + 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -5636,17 +5434,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 - ] + "children": [132, 131, 134, 129, 130, 138, 133, 128, 127] } ], "sources": [ @@ -6265,12 +6053,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -6837,9 +6620,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -7206,62 +6987,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, + 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, + 57, 80, 73, 50, 47, 92 ] } ], @@ -7451,12 +7192,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -8540,9 +8276,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -9125,56 +8859,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, + 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -9379,62 +9076,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, + 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, + 57, 80, 73, 50, 47, 92 ] } ], @@ -9624,12 +9281,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -10713,9 +10365,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -11298,56 +10948,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, + 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -11450,62 +11063,20 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, 57, 80, 73, 50, 47, 92 ] } ], @@ -11998,15 +11569,8 @@ "title": "Properties", "kind": 1024, "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 + 132, 131, 134, 129, 130, 138, 133, + 128, 127 ] } ], @@ -12626,12 +12190,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 34, - 35, - 36, - 33 - ] + "children": [34, 35, 36, 33] } ] } @@ -13198,9 +12757,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 87 - ] + "children": [87] } ] } @@ -13651,62 +13208,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 2 - ] + "children": [2] }, { "title": "Properties", "kind": 1024, "children": [ - 6, - 7, - 28, - 26, - 25, - 8, - 37, - 9, - 19, - 20, - 38, - 24, - 13, - 21, - 27, - 23, - 22, - 29, - 30, - 31, - 17, - 18 + 6, 7, 28, 26, 25, 8, 37, 9, 19, 20, 38, 24, 13, 21, 27, + 23, 22, 29, 30, 31, 17, 18 ] }, { "title": "Methods", "kind": 2048, "children": [ - 76, - 39, - 69, - 41, - 88, - 45, - 71, - 95, - 52, - 90, - 60, - 83, - 63, - 66, - 57, - 80, - 73, - 50, - 47, - 92 + 76, 39, 69, 41, 88, 45, 71, 95, 52, 90, 60, 83, 63, 66, + 57, 80, 73, 50, 47, 92 ] } ], @@ -13896,12 +13413,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 171, - 167, - 172, - 166 - ] + "children": [171, 167, 172, 166] } ], "sources": [ @@ -14985,9 +14497,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 245 - ] + "children": [245] } ], "indexSignature": { @@ -15570,56 +15080,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 153 - ] + "children": [153] }, { "title": "Properties", "kind": 1024, - "children": [ - 161, - 176, - 175, - 181, - 179, - 178, - 177, - 185, - 174, - 173, - 180 - ] + "children": [161, 176, 175, 181, 179, 178, 177, 185, 174, 173, 180] }, { "title": "Methods", "kind": 2048, "children": [ - 231, - 282, - 284, - 286, - 288, - 290, - 266, - 269, - 224, - 216, - 210, - 213, - 261, - 192, - 233, - 271, - 186, - 279, - 241, - 188, - 194, - 274, - 258, - 204, - 252 + 231, 282, 284, 286, 288, 290, 266, 269, 224, 216, 210, 213, 261, 192, + 233, 271, 186, 279, 241, 188, 194, 274, 258, 204, 252 ] } ], @@ -15754,17 +15227,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 341, - 342 - ] + "children": [341, 342] }, { "title": "Methods", "kind": 2048, - "children": [ - 343 - ] + "children": [343] } ] } @@ -16341,33 +15809,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 332 - ] + "children": [332] }, { "title": "Properties", "kind": 1024, - "children": [ - 339, - 345, - 338, - 337, - 336 - ] + "children": [339, 345, 338, 337, 336] }, { "title": "Methods", "kind": 2048, - "children": [ - 357, - 346, - 349, - 352, - 313, - 307, - 301 - ] + "children": [357, 346, 349, 352, 313, 307, 301] } ], "sources": [ @@ -16667,17 +16119,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 132, - 131, - 134, - 129, - 130, - 138, - 133, - 128, - 127 - ] + "children": [132, 131, 134, 129, 130, 138, 133, 128, 127] } ], "sources": [ @@ -16695,25 +16137,17 @@ { "title": "Namespaces", "kind": 4, - "children": [ - 363 - ] + "children": [363] }, { "title": "Classes", "kind": 128, - "children": [ - 142, - 1, - 300 - ] + "children": [142, 1, 300] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 125 - ] + "children": [125] } ], "sources": [ @@ -16723,4 +16157,4 @@ "character": 0 } ] -} \ No newline at end of file +} diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json index d4fbdcc630b..acaa89a09ab 100644 --- a/spec/enrichments/tsdoc_v2/storage.json +++ b/spec/enrichments/tsdoc_v2/storage.json @@ -1,6753 +1,6485 @@ { - "id": 0, - "name": "@supabase/storage-js", - "kind": 1, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 381, - "name": "StorageApiError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 382, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 17, - "character": 2 - } - ], - "signatures": [ - { - "id": 383, - "name": "new StorageApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 384, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 385, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 381, - "name": "StorageApiError" - }, - "overwrites": { - "type": "reference", - "id": 378, - "name": "StorageError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 377, - "name": "StorageError.constructor" - } - }, - { - "id": 386, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 387, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 23, - "character": 2 - } - ], - "signatures": [ - { - "id": 388, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 389, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 391, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 26, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 390, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 392, - "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": [ - 391, - 390, - 392 - ] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 382 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 386 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 387 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 376, - "name": "StorageError" - } - ] - }, - { - "id": 249, - "name": "StorageClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 250, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 6, - "character": 2 - } - ], - "signatures": [ - { - "id": 251, - "name": "new StorageClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 252, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 253, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 254, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 255, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 256, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 257, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 258, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 259, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 260, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 261, - "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": 249, - "name": "StorageClient" - }, - "overwrites": { - "type": "reference", - "id": 5, - "name": "default.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 4, - "name": "default.constructor" - } - }, - { - "id": 292, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 79, - "character": 8 - } - ], - "signatures": [ - { - "id": 293, - "name": "createBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" - }, - "parameters": [ - { - "id": 294, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are creating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 295, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 296, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 297, - "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. By default, buckets are private." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 297 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 298, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 299, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "Bucket" - }, - { - "type": "literal", - "value": "name" - } - ], - "qualifiedName": "Pick", - "package": "typescript", - "name": "Pick" - } - }, - { - "id": 300, - "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": [ - 299, - 300 - ] - } - ] - } - }, - { - "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/packages/StorageBucketApi.ts", - "line": 88, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 303, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 302, - 303 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 44, - "name": "default.createBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 43, - "name": "default.createBucket" - } - }, - { - "id": 329, - "name": "deleteBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 185, - "character": 8 - } - ], - "signatures": [ - { - "id": 330, - "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": 331, - "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": 332, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 333, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 334, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 335, - "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": [ - 335 - ] - } - ] - } - } - }, - { - "id": 336, - "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": [ - 333, - 336 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 337, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 338, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 339, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 194, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 338, - 339 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 81, - "name": "default.deleteBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 80, - "name": "default.deleteBucket" - } - }, - { - "id": 318, - "name": "emptyBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 150, - "character": 8 - } - ], - "signatures": [ - { - "id": 319, - "name": "emptyBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Removes all objects inside a single bucket." - }, - "parameters": [ - { - "id": 320, - "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": 321, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 322, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 154, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 323, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 324, - "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": [ - 324 - ] - } - ] - } - } - }, - { - "id": 325, - "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": [ - 322, - 325 - ] - } - ] - } - }, - { - "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/packages/StorageBucketApi.ts", - "line": 158, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 328, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 159, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 327, - 328 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 70, - "name": "default.emptyBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 69, - "name": "default.emptyBucket" - } - }, - { - "id": 262, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 15, - "character": 2 - } - ], - "signatures": [ - { - "id": 263, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform file operation in a bucket." - }, - "parameters": [ - { - "id": 264, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The bucket id to operate on.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 92, - "name": "default" - } - } - ] - }, - { - "id": 283, - "name": "getBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, - "character": 8 - } - ], - "signatures": [ - { - "id": 284, - "name": "getBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Retrieves the details of an existing Storage bucket." - }, - "parameters": [ - { - "id": 285, - "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": 286, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 287, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 340, - "name": "Bucket" - } - }, - { - "id": 288, - "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": [ - 287, - 288 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 290, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 291, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 290, - 291 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 35, - "name": "default.getBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 34, - "name": "default.getBucket" - } - }, - { - "id": 275, - "name": "listBuckets", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, - "character": 8 - } - ], - "signatures": [ - { - "id": 276, - "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": 277, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 278, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 340, - "name": "Bucket" - } - } - }, - { - "id": 279, - "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": [ - 278, - 279 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 280, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 281, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 282, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 281, - 282 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 27, - "name": "default.listBuckets" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 26, - "name": "default.listBuckets" - } - }, - { - "id": 304, - "name": "updateBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 115, - "character": 8 - } - ], - "signatures": [ - { - "id": 305, - "name": "updateBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Updates a Storage bucket" - }, - "parameters": [ - { - "id": 306, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are updating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 307, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 308, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 309, - "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": [ - 309 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 310, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 311, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 120, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 312, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 313, - "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": [ - 313 - ] - } - ] - } - } - }, - { - "id": 314, - "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": [ - 311, - 314 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 315, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 316, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 317, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 316, - 317 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - }, - "inheritedFrom": { - "type": "reference", - "id": 56, - "name": "default.updateBucket" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 55, - "name": "default.updateBucket" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 250 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 292, - 329, - 318, - 262, - 283, - 275, - 304 - ] - } - ], - "sources": [ - { - "fileName": "src/StorageClient.ts", - "line": 5, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 3, - "name": "default" - } - ] - }, - { - "id": 376, - "name": "StorageError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 377, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 2 - } - ], - "signatures": [ - { - "id": 378, - "name": "new StorageError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 379, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 377 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 1, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 381, - "name": "StorageApiError" - }, - { - "type": "reference", - "id": 394, - "name": "StorageUnknownError" - } - ] - }, - { - "id": 394, - "name": "StorageUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 395, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 35, - "character": 2 - } - ], - "signatures": [ - { - "id": 396, - "name": "new StorageUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 397, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 398, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 394, - "name": "StorageUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 378, - "name": "StorageError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 377, - "name": "StorageError.constructor" - } - }, - { - "id": 399, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 395 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 399 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 32, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 376, - "name": "StorageError" - } - ] - }, - { - "id": 340, - "name": "Bucket", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 344, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 5, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 341, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 342, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 343, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 4, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 346, - "name": "public", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 7, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 345, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 344, - 341, - 342, - 343, - 346, - 345 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 17 - } - ] - }, - { - "id": 369, - "name": "FetchParameters", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 370, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Pass in an AbortController's signal to cancel the request." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 370 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 64, - "character": 17 - } - ] - }, - { - "id": 347, - "name": "FileObject", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 349, - "name": "bucket_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 12, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 356, - "name": "buckets", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 340, - "name": "Bucket" - } - }, - { - "id": 353, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 351, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 354, - "name": "last_accessed_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 17, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 355, - "name": "metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 348, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 350, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 13, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 352, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 15, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 349, - 356, - 353, - 351, - 354, - 355, - 348, - 350, - 352 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 17 - } - ] - }, - { - "id": 360, - "name": "FileOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 361, - "name": "cacheControl", - "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." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "contentType", - "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`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "upsert", - "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." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 39, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 361, - 362, - 363 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 27, - "character": 17 - } - ] - }, - { - "id": 371, - "name": "Metadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 372, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 372 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 17 - } - ] - }, - { - "id": 364, - "name": "SearchOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 365, - "name": "limit", - "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 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 366, - "name": "offset", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The starting position." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 51, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 368, - "name": "search", - "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 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 367, - "name": "sortBy", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The column to sort by. Can be any column inside a FileObject." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 357, - "name": "SortBy" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 365, - 366, - 368, - 367 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 42, - "character": 17 - } - ] - }, - { - "id": 357, - "name": "SortBy", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 358, - "name": "column", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 23, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 359, - "name": "order", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 358, - 359 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 22, - "character": 17 - } - ] - }, - { - "id": 373, - "name": "isStorageError", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 10, - "character": 16 - } - ], - "signatures": [ - { - "id": 374, - "name": "isStorageError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 375, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 381, - 249, - 376, - 394 - ] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [ - 340, - 369, - 347, - 360, - 371, - 364, - 357 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [ - 373 - ] - } - ], - "sources": [ - { - "fileName": "src/index.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 2, - "name": "packages/StorageBucketApi", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 3, - "name": "default", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 4, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, - "character": 2 - } - ], - "signatures": [ - { - "id": 5, - "name": "new default", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 6, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 7, - "name": "headers", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 8, - "name": "__type", - "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" - } - } - } - }, - "defaultValue": "{}" - }, - { - "id": 11, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 12, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 13, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 14, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 15, - "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": 3, - "name": "default" - } - } - ] - }, - { - "id": 43, - "name": "createBucket", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 79, - "character": 8 - } - ], - "signatures": [ - { - "id": 44, - "name": "createBucket", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" - }, - "parameters": [ - { - "id": 45, - "name": "id", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "A unique identifier for the bucket you are creating." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 46, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 47, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 48, - "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. By default, buckets are private." - }, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 81, - "character": 15 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 48 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 49, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 50, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 84, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 340, - "name": "Bucket" - }, - { - "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": 376, - "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": 376, - "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": 376, - "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": 340, - "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": 376, - "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": 340, - "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": 376, - "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": 376, - "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": 249, - "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": "message", - "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 - ] - } - ] - } - } - }, - { - "id": 177, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 232, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 174, - 177 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 178, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 179, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 235, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 180, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 236, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 179, - 180 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 181, - "name": "createSignedUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 262, - "character": 8 - } - ], - "signatures": [ - { - "id": 182, - "name": "createSignedUrl", - "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." - }, - "parameters": [ - { - "id": 183, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The file path, including the current file name. For example `folder/image.png`." - }, - "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.\n" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 185, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 186, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 267, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 188, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 267, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 188 - ] - } - ] - } - } - }, - { - "id": 189, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 268, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 186, - 189 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 191, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 271, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 192, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 272, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 191, - 192 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 193, - "name": "createSignedUrls", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 301, - "character": 8 - } - ], - "signatures": [ - { - "id": 194, - "name": "createSignedUrls", - "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." - }, - "parameters": [ - { - "id": 195, - "name": "paths", - "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']`." - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 196, - "name": "expiresIn", - "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.\n" - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 197, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 198, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 306, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 199, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 200, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 306, - "character": 16 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 201, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 306, - "character": 38 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 202, - "name": "signedUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 306, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 200, - 201, - 202 - ] - } - ] - } - } - } - }, - { - "id": 203, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 307, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 198, - 203 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 204, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 205, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 310, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 206, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 311, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 205, - 206 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 207, - "name": "download", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 342, - "character": 8 - } - ], - "signatures": [ - { - "id": 208, - "name": "download", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Downloads a file." - }, - "parameters": [ - { - "id": 209, - "name": "path", - "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" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 210, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 211, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 346, - "character": 8 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Blob", - "package": "typescript", - "name": "Blob" - } - }, - { - "id": 212, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 347, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 211, - 212 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 213, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 214, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 350, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 215, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 351, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 214, - 215 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 216, - "name": "getPublicUrl", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 377, - "character": 2 - } - ], - "signatures": [ - { - "id": 217, - "name": "getPublicUrl", - "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." - }, - "parameters": [ - { - "id": 218, - "name": "path", - "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`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 219, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 220, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 377, - "character": 32 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 221, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 222, - "name": "publicUrl", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 377, - "character": 40 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 222 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 220 - ] - } - ] - } - } - } - ] - }, - { - "id": 232, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 483, - "character": 8 - } - ], - "signatures": [ - { - "id": 233, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Lists all the files within a bucket." - }, - "parameters": [ - { - "id": 234, - "name": "path", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The folder path.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 235, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 364, - "name": "SearchOptions" - } - }, - { - "id": 236, - "name": "parameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 369, - "name": "FetchParameters" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 238, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 489, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 347, - "name": "FileObject" - } - } - }, - { - "id": 239, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 490, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 238, - 239 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 240, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 241, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 493, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 242, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 494, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 241, - 242 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 157, - "name": "move", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 190, - "character": 8 - } - ], - "signatures": [ - { - "id": 158, - "name": "move", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Moves an existing file to a new path in the same bucket." - }, - "parameters": [ - { - "id": 159, - "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": 160, - "name": "toPath", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 162, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 195, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 164, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 195, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 164 - ] - } - ] - } - } - }, - { - "id": 165, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 196, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 162, - 165 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 167, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 199, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 168, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 200, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 167, - 168 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 223, - "name": "remove", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 387, - "character": 8 - } - ], - "signatures": [ - { - "id": 224, - "name": "remove", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Deletes files within the same bucket" - }, - "parameters": [ - { - "id": 225, - "name": "paths", - "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" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 226, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 227, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 391, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 347, - "name": "FileObject" - } - } - }, - { - "id": 228, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 392, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 227, - 228 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 229, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 230, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 395, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 231, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 396, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 230, - 231 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 144, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 157, - "character": 8 - } - ], - "signatures": [ - { - "id": 145, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Replaces an existing file at the specified path with a new one." - }, - "parameters": [ - { - "id": 146, - "name": "path", - "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." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 147, - "name": "fileBody", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "union", - "types": [ - { - "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" - } - ] - } - }, - { - "id": 148, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 360, - "name": "FileOptions" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 149, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 150, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 151, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 152, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 173, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 152 - ] - } - ] - } - } - }, - { - "id": 153, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 174, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 150, - 153 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 154, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 155, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 177, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 156, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 178, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 155, - 156 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 131, - "name": "upload", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 124, - "character": 8 - } - ], - "signatures": [ - { - "id": 132, - "name": "upload", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Uploads a file to an existing bucket." - }, - "parameters": [ - { - "id": 133, - "name": "path", - "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." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "fileBody", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The body of the file to be stored in the bucket.\n" - }, - "type": { - "type": "union", - "types": [ - { - "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" - } - ] - } - }, - { - "id": 135, - "name": "fileOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 360, - "name": "FileOptions" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 136, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 137, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 140, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 138, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 139, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 140, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 139 - ] - } - ] - } - } - }, - { - "id": 140, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 141, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 137, - 140 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 141, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 142, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 144, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 143, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 145, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 376, - "name": "StorageError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 142, - 143 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 93 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 169, - 181, - 193, - 207, - 216, - 232, - 157, - 223, - 144, - 131 - ] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 21, - "character": 21 - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [ - 92 - ] - } - ], - "sources": [ - { - "fileName": "src/packages/StorageFileApi.ts", - "line": 1, - "character": 0 - } - ] - } - ], - "groups": [ - { - "title": "Modules", - "kind": 2, - "children": [ - 1, - 2, - 91 - ] - } - ] -} \ No newline at end of file + "id": 0, + "name": "@supabase/storage-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 381, + "name": "StorageApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 382, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2 + } + ], + "signatures": [ + { + "id": 383, + "name": "new StorageApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 384, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 385, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 381, + "name": "StorageApiError" + }, + "overwrites": { + "type": "reference", + "id": 378, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 377, + "name": "StorageError.constructor" + } + }, + { + "id": 386, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 387, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2 + } + ], + "signatures": [ + { + "id": 388, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 391, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 390, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 392, + "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": [391, 390, 392] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [382] + }, + { + "title": "Properties", + "kind": 1024, + "children": [386] + }, + { + "title": "Methods", + "kind": 2048, + "children": [387] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 376, + "name": "StorageError" + } + ] + }, + { + "id": 249, + "name": "StorageClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 250, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 6, + "character": 2 + } + ], + "signatures": [ + { + "id": 251, + "name": "new StorageClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 252, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 253, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 254, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 255, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 256, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 257, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 258, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 259, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 260, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 261, + "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": 249, + "name": "StorageClient" + }, + "overwrites": { + "type": "reference", + "id": 5, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 4, + "name": "default.constructor" + } + }, + { + "id": 292, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 79, + "character": 8 + } + ], + "signatures": [ + { + "id": 293, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Storage bucket", + "returns": "newly created bucket id\n" + }, + "parameters": [ + { + "id": 294, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are creating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 295, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 296, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 297, + "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. By default, buckets are private." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 81, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [297] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 298, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 299, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 84, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 340, + "name": "Bucket" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 300, + "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": [299, 300] + } + ] + } + }, + { + "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/packages/StorageBucketApi.ts", + "line": 88, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 303, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 89, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [302, 303] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 44, + "name": "default.createBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 43, + "name": "default.createBucket" + } + }, + { + "id": 329, + "name": "deleteBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 185, + "character": 8 + } + ], + "signatures": [ + { + "id": 330, + "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": 331, + "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": 332, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 333, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 189, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 335, + "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": [335] + } + ] + } + } + }, + { + "id": 336, + "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": [333, 336] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 338, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 193, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 339, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 194, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [338, 339] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 81, + "name": "default.deleteBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 80, + "name": "default.deleteBucket" + } + }, + { + "id": 318, + "name": "emptyBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 150, + "character": 8 + } + ], + "signatures": [ + { + "id": 319, + "name": "emptyBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Removes all objects inside a single bucket." + }, + "parameters": [ + { + "id": 320, + "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": 321, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 322, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 154, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 323, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 324, + "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": [324] + } + ] + } + } + }, + { + "id": 325, + "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": [322, 325] + } + ] + } + }, + { + "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/packages/StorageBucketApi.ts", + "line": 158, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 328, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 159, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [327, 328] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 70, + "name": "default.emptyBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 69, + "name": "default.emptyBucket" + } + }, + { + "id": 262, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 15, + "character": 2 + } + ], + "signatures": [ + { + "id": 263, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform file operation in a bucket." + }, + "parameters": [ + { + "id": 264, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The bucket id to operate on.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 92, + "name": "default" + } + } + ] + }, + { + "id": 283, + "name": "getBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 48, + "character": 8 + } + ], + "signatures": [ + { + "id": 284, + "name": "getBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves the details of an existing Storage bucket." + }, + "parameters": [ + { + "id": 285, + "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": 286, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 287, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 340, + "name": "Bucket" + } + }, + { + "id": 288, + "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": [287, 288] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 289, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 290, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 291, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [290, 291] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 35, + "name": "default.getBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 34, + "name": "default.getBucket" + } + }, + { + "id": 275, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 21, + "character": 8 + } + ], + "signatures": [ + { + "id": 276, + "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": 277, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 278, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 23, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 340, + "name": "Bucket" + } + } + }, + { + "id": 279, + "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": [278, 279] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 280, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 281, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 27, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 282, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 28, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [281, 282] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 27, + "name": "default.listBuckets" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 26, + "name": "default.listBuckets" + } + }, + { + "id": 304, + "name": "updateBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 115, + "character": 8 + } + ], + "signatures": [ + { + "id": 305, + "name": "updateBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Updates a Storage bucket" + }, + "parameters": [ + { + "id": 306, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are updating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 307, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 309, + "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": [309] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 311, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 120, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 312, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 313, + "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": [313] + } + ] + } + } + }, + { + "id": 314, + "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": [311, 314] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 315, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 316, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 124, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 317, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 125, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [316, 317] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + }, + "inheritedFrom": { + "type": "reference", + "id": 56, + "name": "default.updateBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 55, + "name": "default.updateBucket" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [250] + }, + { + "title": "Methods", + "kind": 2048, + "children": [292, 329, 318, 262, 283, 275, 304] + } + ], + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 5, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3, + "name": "default" + } + ] + }, + { + "id": 376, + "name": "StorageError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 377, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2 + } + ], + "signatures": [ + { + "id": 378, + "name": "new StorageError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 379, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [377] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 381, + "name": "StorageApiError" + }, + { + "type": "reference", + "id": 394, + "name": "StorageUnknownError" + } + ] + }, + { + "id": 394, + "name": "StorageUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 395, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2 + } + ], + "signatures": [ + { + "id": 396, + "name": "new StorageUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 397, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 398, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 394, + "name": "StorageUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 378, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 377, + "name": "StorageError.constructor" + } + }, + { + "id": 399, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [395] + }, + { + "title": "Properties", + "kind": 1024, + "children": [399] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 376, + "name": "StorageError" + } + ] + }, + { + "id": 340, + "name": "Bucket", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 344, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 341, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 2, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 342, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 3, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 343, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 346, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 345, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [344, 341, 342, 343, 346, 345] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 17 + } + ] + }, + { + "id": 369, + "name": "FetchParameters", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 370, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Pass in an AbortController's signal to cancel the request." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [370] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 64, + "character": 17 + } + ] + }, + { + "id": 347, + "name": "FileObject", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 349, + "name": "bucket_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 356, + "name": "buckets", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 340, + "name": "Bucket" + } + }, + { + "id": 353, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 351, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 354, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 355, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 348, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 350, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 13, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 352, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [349, 356, 353, 351, 354, 355, 348, 350, 352] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 360, + "name": "FileOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 361, + "name": "cacheControl", + "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." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 362, + "name": "contentType", + "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`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 363, + "name": "upsert", + "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." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [361, 362, 363] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 27, + "character": 17 + } + ] + }, + { + "id": 371, + "name": "Metadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 372, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [372] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 17 + } + ] + }, + { + "id": 364, + "name": "SearchOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 365, + "name": "limit", + "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 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 366, + "name": "offset", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The starting position." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 368, + "name": "search", + "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 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "name": "sortBy", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The column to sort by. Can be any column inside a FileObject." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 357, + "name": "SortBy" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [365, 366, 368, 367] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 17 + } + ] + }, + { + "id": 357, + "name": "SortBy", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 358, + "name": "column", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 23, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 359, + "name": "order", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [358, 359] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 17 + } + ] + }, + { + "id": 373, + "name": "isStorageError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16 + } + ], + "signatures": [ + { + "id": 374, + "name": "isStorageError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 375, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [381, 249, 376, 394] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [340, 369, 347, 360, 371, 364, 357] + }, + { + "title": "Functions", + "kind": 64, + "children": [373] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 2, + "name": "packages/StorageBucketApi", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 3, + "name": "default", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 4, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 12, + "character": 2 + } + ], + "signatures": [ + { + "id": 5, + "name": "new default", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 6, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "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" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 11, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 13, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 15, + "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": 3, + "name": "default" + } + } + ] + }, + { + "id": 43, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 79, + "character": 8 + } + ], + "signatures": [ + { + "id": 44, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Storage bucket", + "returns": "newly created bucket id\n" + }, + "parameters": [ + { + "id": 45, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "A unique identifier for the bucket you are creating." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 46, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 47, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 48, + "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. By default, buckets are private." + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 81, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [48] + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 49, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 50, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 84, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 340, + "name": "Bucket" + }, + { + "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": 376, + "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": 376, + "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": 376, + "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": 340, + "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": 376, + "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": 340, + "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": 376, + "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": 376, + "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": 249, + "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": "message", + "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] + } + ] + } + } + }, + { + "id": 177, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 232, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [174, 177] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 178, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 179, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 235, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 180, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 236, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [179, 180] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 181, + "name": "createSignedUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 262, + "character": 8 + } + ], + "signatures": [ + { + "id": 182, + "name": "createSignedUrl", + "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." + }, + "parameters": [ + { + "id": 183, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The file path, including the current file name. For example `folder/image.png`." + }, + "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.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 186, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 267, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 188, + "name": "signedUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 267, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [188] + } + ] + } + } + }, + { + "id": 189, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 268, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [186, 189] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 190, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 191, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 271, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 192, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 272, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [191, 192] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 193, + "name": "createSignedUrls", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 301, + "character": 8 + } + ], + "signatures": [ + { + "id": 194, + "name": "createSignedUrls", + "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." + }, + "parameters": [ + { + "id": 195, + "name": "paths", + "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']`." + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 196, + "name": "expiresIn", + "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.\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 306, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 200, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 306, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 201, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 306, + "character": 38 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 202, + "name": "signedUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 306, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [200, 201, 202] + } + ] + } + } + } + }, + { + "id": 203, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 307, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [198, 203] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 204, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 205, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 310, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 206, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 311, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [205, 206] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 207, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 342, + "character": 8 + } + ], + "signatures": [ + { + "id": 208, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Downloads a file." + }, + "parameters": [ + { + "id": 209, + "name": "path", + "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" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 210, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 211, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 346, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Blob", + "package": "typescript", + "name": "Blob" + } + }, + { + "id": 212, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 347, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [211, 212] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 350, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 215, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 351, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [214, 215] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 216, + "name": "getPublicUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 377, + "character": 2 + } + ], + "signatures": [ + { + "id": 217, + "name": "getPublicUrl", + "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." + }, + "parameters": [ + { + "id": 218, + "name": "path", + "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`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 219, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 220, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 377, + "character": 32 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 222, + "name": "publicUrl", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 377, + "character": 40 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [222] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [220] + } + ] + } + } + } + ] + }, + { + "id": 232, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 483, + "character": 8 + } + ], + "signatures": [ + { + "id": 233, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Lists all the files within a bucket." + }, + "parameters": [ + { + "id": 234, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The folder path.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 364, + "name": "SearchOptions" + } + }, + { + "id": 236, + "name": "parameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 369, + "name": "FetchParameters" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 237, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 238, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 489, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 347, + "name": "FileObject" + } + } + }, + { + "id": 239, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 490, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [238, 239] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 240, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 241, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 493, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 242, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 494, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [241, 242] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 157, + "name": "move", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 190, + "character": 8 + } + ], + "signatures": [ + { + "id": 158, + "name": "move", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Moves an existing file to a new path in the same bucket." + }, + "parameters": [ + { + "id": 159, + "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": 160, + "name": "toPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The new file path, including the new file name. For example `folder/image-new.png`.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 161, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 162, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 195, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 164, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 195, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [164] + } + ] + } + } + }, + { + "id": 165, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 196, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [162, 165] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 199, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 168, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 200, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [167, 168] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 223, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 387, + "character": 8 + } + ], + "signatures": [ + { + "id": 224, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Deletes files within the same bucket" + }, + "parameters": [ + { + "id": 225, + "name": "paths", + "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" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 226, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 227, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 391, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 347, + "name": "FileObject" + } + } + }, + { + "id": 228, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 392, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [227, 228] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 229, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 230, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 395, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 231, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 396, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [230, 231] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 144, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 157, + "character": 8 + } + ], + "signatures": [ + { + "id": 145, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Replaces an existing file at the specified path with a new one." + }, + "parameters": [ + { + "id": 146, + "name": "path", + "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." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The body of the file to be stored in the bucket.\n" + }, + "type": { + "type": "union", + "types": [ + { + "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" + } + ] + } + }, + { + "id": 148, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 360, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 173, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 152, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 173, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [152] + } + ] + } + } + }, + { + "id": 153, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 174, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [150, 153] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 155, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 177, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 156, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 178, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [155, 156] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 131, + "name": "upload", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 124, + "character": 8 + } + ], + "signatures": [ + { + "id": 132, + "name": "upload", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Uploads a file to an existing bucket." + }, + "parameters": [ + { + "id": 133, + "name": "path", + "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." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 134, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The body of the file to be stored in the bucket.\n" + }, + "type": { + "type": "union", + "types": [ + { + "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" + } + ] + } + }, + { + "id": 135, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 360, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 136, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 137, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 140, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 139, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 140, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [139] + } + ] + } + } + }, + { + "id": 140, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 141, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [137, 140] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 144, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 143, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 145, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 376, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [142, 143] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [93] + }, + { + "title": "Methods", + "kind": 2048, + "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 21, + "character": 21 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [92] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [1, 2, 91] + } + ] +} diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json index dd589565590..68d23124612 100644 --- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json @@ -190,11 +190,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 391, - 390, - 392 - ] + "children": [391, 390, 392] } ] } @@ -207,23 +203,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 382 - ] + "children": [382] }, { "title": "Properties", "kind": 1024, - "children": [ - 386 - ] + "children": [386] }, { "title": "Methods", "kind": 2048, - "children": [ - 387 - ] + "children": [387] } ], "sources": [ @@ -492,9 +482,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 297 - ] + "children": [297] } ] } @@ -571,10 +559,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 299, - 300 - ] + "children": [299, 300] } ] } @@ -630,10 +615,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 302, - 303 - ] + "children": [302, 303] } ] } @@ -757,9 +739,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 335 - ] + "children": [335] } ] } @@ -788,10 +768,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 333, - 336 - ] + "children": [333, 336] } ] } @@ -847,10 +824,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 338, - 339 - ] + "children": [338, 339] } ] } @@ -974,9 +948,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 324 - ] + "children": [324] } ] } @@ -1005,10 +977,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 322, - 325 - ] + "children": [322, 325] } ] } @@ -1064,10 +1033,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 327, - 328 - ] + "children": [327, 328] } ] } @@ -1235,10 +1201,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 287, - 288 - ] + "children": [287, 288] } ] } @@ -1294,10 +1257,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 290, - 291 - ] + "children": [290, 291] } ] } @@ -1405,10 +1365,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 278, - 279 - ] + "children": [278, 279] } ] } @@ -1464,10 +1421,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 281, - 282 - ] + "children": [281, 282] } ] } @@ -1571,9 +1525,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 309 - ] + "children": [309] } ] } @@ -1640,9 +1592,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 313 - ] + "children": [313] } ] } @@ -1671,10 +1621,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 311, - 314 - ] + "children": [311, 314] } ] } @@ -1730,10 +1677,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 316, - 317 - ] + "children": [316, 317] } ] } @@ -1763,22 +1707,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 250 - ] + "children": [250] }, { "title": "Methods", "kind": 2048, - "children": [ - 292, - 329, - 318, - 262, - 283, - 275, - 304 - ] + "children": [292, 329, 318, 262, 283, 275, 304] } ], "sources": [ @@ -1857,9 +1791,7 @@ { "title": "Constructors", "kind": 512, - "children": [ - 377 - ] + "children": [377] } ], "sources": [ @@ -1982,16 +1914,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 395 - ] + "children": [395] }, { "title": "Properties", "kind": 1024, - "children": [ - 399 - ] + "children": [399] } ], "sources": [ @@ -2129,14 +2057,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 344, - 341, - 342, - 343, - 346, - 345 - ] + "children": [344, 341, 342, 343, 346, 345] } ], "sources": [ @@ -2184,9 +2105,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 370 - ] + "children": [370] } ], "sources": [ @@ -2384,17 +2303,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 349, - 356, - 353, - 351, - 354, - 355, - 348, - 350, - 352 - ] + "children": [349, 356, 353, 351, 354, 355, 348, 350, 352] } ], "sources": [ @@ -2486,11 +2395,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -2531,9 +2436,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 372 - ] + "children": [372] } ], "sources": [ @@ -2649,12 +2552,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 366, - 368, - 367 - ] + "children": [365, 366, 368, 367] } ], "sources": [ @@ -2717,10 +2615,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 358, - 359 - ] + "children": [358, 359] } ], "sources": [ @@ -2782,32 +2677,17 @@ { "title": "Classes", "kind": 128, - "children": [ - 381, - 249, - 376, - 394 - ] + "children": [381, 249, 376, 394] }, { "title": "Interfaces", "kind": 256, - "children": [ - 340, - 369, - 347, - 360, - 371, - 364, - 357 - ] + "children": [340, 369, 347, 360, 371, 364, 357] }, { "title": "Functions", "kind": 64, - "children": [ - 373 - ] + "children": [373] } ], "sources": [ @@ -3066,9 +2946,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 48 - ] + "children": [48] } ] } @@ -3145,10 +3023,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 50, - 51 - ] + "children": [50, 51] } ] } @@ -3204,10 +3079,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 53, - 54 - ] + "children": [53, 54] } ] } @@ -3321,9 +3193,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86 - ] + "children": [86] } ] } @@ -3352,10 +3222,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 87 - ] + "children": [84, 87] } ] } @@ -3411,10 +3278,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 89, - 90 - ] + "children": [89, 90] } ] } @@ -3528,9 +3392,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 75 - ] + "children": [75] } ] } @@ -3559,10 +3421,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 73, - 76 - ] + "children": [73, 76] } ] } @@ -3618,10 +3477,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 78, - 79 - ] + "children": [78, 79] } ] } @@ -3732,10 +3588,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 38, - 39 - ] + "children": [38, 39] } ] } @@ -3791,10 +3644,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 41, - 42 - ] + "children": [41, 42] } ] } @@ -3892,10 +3742,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 29, - 30 - ] + "children": [29, 30] } ] } @@ -3951,10 +3798,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 32, - 33 - ] + "children": [32, 33] } ] } @@ -4048,9 +3892,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 60 - ] + "children": [60] } ] } @@ -4117,9 +3959,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 64 - ] + "children": [64] } ] } @@ -4148,10 +3988,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 62, - 65 - ] + "children": [62, 65] } ] } @@ -4207,10 +4044,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 67, - 68 - ] + "children": [67, 68] } ] } @@ -4230,21 +4064,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 4 - ] + "children": [4] }, { "title": "Methods", "kind": 2048, - "children": [ - 43, - 80, - 69, - 34, - 26, - 55 - ] + "children": [43, 80, 69, 34, 26, 55] } ], "sources": [ @@ -4267,9 +4092,7 @@ { "title": "Classes", "kind": 128, - "children": [ - 3 - ] + "children": [3] } ], "sources": [ @@ -4574,9 +4397,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 176 - ] + "children": [176] } ] } @@ -4605,10 +4426,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 174, - 177 - ] + "children": [174, 177] } ] } @@ -4664,10 +4482,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 179, - 180 - ] + "children": [179, 180] } ] } @@ -4795,9 +4610,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 188 - ] + "children": [188] } ] } @@ -4826,10 +4639,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 186, - 189 - ] + "children": [186, 189] } ] } @@ -4885,10 +4695,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 191, - 192 - ] + "children": [191, 192] } ] } @@ -5075,11 +4882,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 200, - 201, - 202 - ] + "children": [200, 201, 202] } ] } @@ -5109,10 +4912,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 198, - 203 - ] + "children": [198, 203] } ] } @@ -5168,10 +4968,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 205, - 206 - ] + "children": [205, 206] } ] } @@ -5283,10 +5080,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 211, - 212 - ] + "children": [211, 212] } ] } @@ -5342,10 +5136,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 214, - 215 - ] + "children": [214, 215] } ] } @@ -5453,9 +5244,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 222 - ] + "children": [222] } ] } @@ -5466,9 +5255,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 220 - ] + "children": [220] } ] } @@ -5633,12 +5420,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 366, - 368, - 367 - ] + "children": [365, 366, 368, 367] } ], "sources": [ @@ -5700,9 +5482,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 370 - ] + "children": [370] } ], "sources": [ @@ -5776,10 +5556,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 238, - 239 - ] + "children": [238, 239] } ] } @@ -5835,10 +5612,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 241, - 242 - ] + "children": [241, 242] } ] } @@ -5966,9 +5740,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 164 - ] + "children": [164] } ] } @@ -5997,10 +5769,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 162, - 165 - ] + "children": [162, 165] } ] } @@ -6056,10 +5825,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 167, - 168 - ] + "children": [167, 168] } ] } @@ -6176,10 +5942,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 227, - 228 - ] + "children": [227, 228] } ] } @@ -6235,10 +5998,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 230, - 231 - ] + "children": [230, 231] } ] } @@ -6465,11 +6225,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -6543,9 +6299,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 152 - ] + "children": [152] } ] } @@ -6574,10 +6328,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 150, - 153 - ] + "children": [150, 153] } ] } @@ -6633,10 +6384,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 155, - 156 - ] + "children": [155, 156] } ] } @@ -6863,11 +6611,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 361, - 362, - 363 - ] + "children": [361, 362, 363] } ], "sources": [ @@ -6941,9 +6685,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 139 - ] + "children": [139] } ] } @@ -6972,10 +6714,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 137, - 140 - ] + "children": [137, 140] } ] } @@ -7031,10 +6770,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 142, - 143 - ] + "children": [142, 143] } ] } @@ -7054,25 +6790,12 @@ { "title": "Constructors", "kind": 512, - "children": [ - 93 - ] + "children": [93] }, { "title": "Methods", "kind": 2048, - "children": [ - 169, - 181, - 193, - 207, - 216, - 232, - 157, - 223, - 144, - 131 - ] + "children": [169, 181, 193, 207, 216, 232, 157, 223, 144, 131] } ], "sources": [ @@ -7088,9 +6811,7 @@ { "title": "Classes", "kind": 128, - "children": [ - 92 - ] + "children": [92] } ], "sources": [ @@ -7106,11 +6827,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 2, - 91 - ] + "children": [1, 2, 91] } ] -} \ No newline at end of file +} diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json index 5f1f0caa0f0..ae462310da6 100644 --- a/spec/enrichments/tsdoc_v2/supabase.json +++ b/spec/enrichments/tsdoc_v2/supabase.json @@ -1,29941 +1,29010 @@ { - "id": 0, - "name": "@supabase/supabase-js", - "kind": 1, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 1, - "name": "index", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 747, - "name": "Session", - "kind": 16777216, - "kindString": "Reference", - "flags": {}, - "target": 141 - }, - { - "id": 255, - "name": "SupabaseClientOptions", - "kind": 16777216, - "kindString": "Reference", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 14, - "character": 14 - } - ], - "target": 79 - }, - { - "id": 759, - "name": "User", - "kind": 16777216, - "kindString": "Reference", - "flags": {}, - "target": 113 - }, - { - "id": 1360, - "name": "Transformers", - "kind": 4, - "kindString": "Namespace", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1361, - "name": "PostgresTypes", - "kind": 8, - "kindString": "Enumeration", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Helpers to convert the change Payload into native JS types." - }, - "children": [ - { - "id": 1362, - "name": "abstime", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 5, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "abstime" - }, - "defaultValue": "\"abstime\"" - }, - { - "id": 1363, - "name": "bool", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 6, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "bool" - }, - "defaultValue": "\"bool\"" - }, - { - "id": 1364, - "name": "date", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 7, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "date" - }, - "defaultValue": "\"date\"" - }, - { - "id": 1365, - "name": "daterange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 8, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "daterange" - }, - "defaultValue": "\"daterange\"" - }, - { - "id": 1366, - "name": "float4", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 9, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "float4" - }, - "defaultValue": "\"float4\"" - }, - { - "id": 1367, - "name": "float8", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 10, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "float8" - }, - "defaultValue": "\"float8\"" - }, - { - "id": 1368, - "name": "int2", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "int2" - }, - "defaultValue": "\"int2\"" - }, - { - "id": 1369, - "name": "int4", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "int4" - }, - "defaultValue": "\"int4\"" - }, - { - "id": 1370, - "name": "int4range", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "int4range" - }, - "defaultValue": "\"int4range\"" - }, - { - "id": 1371, - "name": "int8", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 14, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "int8" - }, - "defaultValue": "\"int8\"" - }, - { - "id": 1372, - "name": "int8range", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "int8range" - }, - "defaultValue": "\"int8range\"" - }, - { - "id": 1373, - "name": "json", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 16, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "json" - }, - "defaultValue": "\"json\"" - }, - { - "id": 1374, - "name": "jsonb", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "jsonb" - }, - "defaultValue": "\"jsonb\"" - }, - { - "id": 1375, - "name": "money", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 18, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "money" - }, - "defaultValue": "\"money\"" - }, - { - "id": 1376, - "name": "numeric", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 19, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "numeric" - }, - "defaultValue": "\"numeric\"" - }, - { - "id": 1377, - "name": "oid", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "oid" - }, - "defaultValue": "\"oid\"" - }, - { - "id": 1378, - "name": "reltime", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "reltime" - }, - "defaultValue": "\"reltime\"" - }, - { - "id": 1379, - "name": "text", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "text" - }, - "defaultValue": "\"text\"" - }, - { - "id": 1380, - "name": "time", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 23, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "time" - }, - "defaultValue": "\"time\"" - }, - { - "id": 1381, - "name": "timestamp", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 24, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "timestamp" - }, - "defaultValue": "\"timestamp\"" - }, - { - "id": 1382, - "name": "timestamptz", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 25, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "timestamptz" - }, - "defaultValue": "\"timestamptz\"" - }, - { - "id": 1383, - "name": "timetz", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "timetz" - }, - "defaultValue": "\"timetz\"" - }, - { - "id": 1384, - "name": "tsrange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 27, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "tsrange" - }, - "defaultValue": "\"tsrange\"" - }, - { - "id": 1385, - "name": "tstzrange", - "kind": 16, - "kindString": "Enumeration Member", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "tstzrange" - }, - "defaultValue": "\"tstzrange\"" - } - ], - "groups": [ - { - "title": "Enumeration Members", - "kind": 16, - "children": [ - 1362, - 1363, - 1364, - 1365, - 1366, - 1367, - 1368, - 1369, - 1370, - 1371, - 1372, - 1373, - 1374, - 1375, - 1376, - 1377, - 1378, - 1379, - 1380, - 1381, - 1382, - 1383, - 1384, - 1385 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 4, - "character": 20 - } - ] - }, - { - "id": 1399, - "name": "convertCell", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 84, - "character": 21 - } - ], - "signatures": [ - { - "id": 1400, - "name": "convertCell", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.", - "tags": [ - { - "tag": "example", - "text": "convertCell('bool', 't')\n//=> true" - }, - { - "tag": "example", - "text": "convertCell('int8', '10')\n//=> 10" - }, - { - "tag": "example", - "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n" - } - ] - }, - "parameters": [ - { - "id": 1401, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A postgres column type" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1402, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1386, - "name": "convertChangeData", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 53, - "character": 21 - } - ], - "signatures": [ - { - "id": 1387, - "name": "convertChangeData", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.", - "tags": [ - { - "tag": "example", - "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n" - } - ] - }, - "parameters": [ - { - "id": 1388, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Columns", - "package": "@supabase/realtime-js", - "name": "Columns" - } - }, - { - "id": 1389, - "name": "record", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": {}, - "type": { - "type": "reference", - "qualifiedName": "Record", - "package": "@supabase/realtime-js", - "name": "Record" - } - }, - { - "id": 1390, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The map of various options that can be applied to the mapper" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1391, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1392, - "name": "skipTypes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The array of types that should not be converted\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1392 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "Record", - "package": "@supabase/realtime-js", - "name": "Record" - } - } - ] - }, - { - "id": 1393, - "name": "convertColumn", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 70, - "character": 21 - } - ], - "signatures": [ - { - "id": 1394, - "name": "convertColumn", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Converts the value of an individual column.", - "returns": "Useless information\n", - "tags": [ - { - "tag": "example", - "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33" - }, - { - "tag": "example", - "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n" - } - ] - }, - "parameters": [ - { - "id": 1395, - "name": "columnName", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The column that you want to convert" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1396, - "name": "columns", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Columns", - "package": "@supabase/realtime-js", - "name": "Columns" - } - }, - { - "id": 1397, - "name": "record", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The map of string values" - }, - "type": { - "type": "reference", - "qualifiedName": "Record", - "package": "@supabase/realtime-js", - "name": "Record" - } - }, - { - "id": 1398, - "name": "skipTypes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "An array of types that should not be converted" - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1412, - "name": "toArray", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 98, - "character": 21 - } - ], - "signatures": [ - { - "id": 1413, - "name": "toArray", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Converts a Postgres Array into a native JS array", - "tags": [ - { - "tag": "example", - "text": "toArray('{}', 'int4')\n//=> []" - }, - { - "tag": "example", - "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" - }, - { - "tag": "example", - "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" - } - ] - }, - "parameters": [ - { - "id": 1414, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - }, - { - "id": 1415, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1403, - "name": "toBoolean", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 85, - "character": 21 - } - ], - "signatures": [ - { - "id": 1404, - "name": "toBoolean", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1405, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1409, - "name": "toJson", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 87, - "character": 21 - } - ], - "signatures": [ - { - "id": 1410, - "name": "toJson", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1411, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1406, - "name": "toNumber", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 86, - "character": 21 - } - ], - "signatures": [ - { - "id": 1407, - "name": "toNumber", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1408, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - }, - { - "id": 1416, - "name": "toTimestampString", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 106, - "character": 21 - } - ], - "signatures": [ - { - "id": 1417, - "name": "toTimestampString", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18", - "tags": [ - { - "tag": "example", - "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n" - } - ] - }, - "parameters": [ - { - "id": 1418, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "RecordValue", - "package": "@supabase/realtime-js", - "name": "RecordValue" - } - } - ] - } - ], - "groups": [ - { - "title": "Enumerations", - "kind": 8, - "children": [ - 1361 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [ - 1399, - 1386, - 1393, - 1412, - 1403, - 1409, - 1406, - 1416 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", - "line": 4, - "character": 0 - } - ] - }, - { - "id": 878, - "name": "AuthApiError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 889, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 8, - "character": 4 - } - ], - "signatures": [ - { - "id": 890, - "name": "new AuthApiError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 891, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 892, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 878, - "qualifiedName": "AuthApiError", - "package": "@supabase/gotrue-js", - "name": "AuthApiError" - }, - "overwrites": { - "type": "reference", - "id": 872, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 871, - "name": "AuthError.constructor" - } - }, - { - "id": 900, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 874, - "name": "AuthError.__isAuthError" - } - }, - { - "id": 902, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 876, - "name": "AuthError.message" - } - }, - { - "id": 901, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1022, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 875, - "name": "AuthError.name" - } - }, - { - "id": 903, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 877, - "name": "AuthError.stack" - } - }, - { - "id": 893, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 7, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 883, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 884, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 885, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 886, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 887, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 865, - "name": "AuthError.prepareStackTrace" - } - }, - { - "id": 888, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 870, - "name": "AuthError.stackTraceLimit" - } - }, - { - "id": 894, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 9, - "character": 4 - } - ], - "signatures": [ - { - "id": 895, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 896, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 898, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 11, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 897, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 10, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 899, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 12, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 898, - 897, - 899 - ] - } - ] - } - } - } - ] - }, - { - "id": 879, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 880, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 881, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 882, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 862, - "name": "AuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 861, - "name": "AuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 889 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 900, - 902, - 901, - 903, - 893, - 883, - 888 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 894, - 879 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 6, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - ] - }, - { - "id": 860, - "name": "AuthError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 871, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 3, - "character": 4 - } - ], - "signatures": [ - { - "id": 872, - "name": "new AuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 873, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - }, - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "name": "Error.constructor" - } - }, - { - "id": 874, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 876, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.message" - } - }, - { - "id": 875, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1022, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.name" - } - }, - { - "id": 877, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.stack" - } - }, - { - "id": 865, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 866, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 867, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 868, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 869, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.prepareStackTrace" - } - }, - { - "id": 870, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.stackTraceLimit" - } - }, - { - "id": 861, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 862, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 863, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 864, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "name": "Error.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "name": "Error.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 871 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 874, - 876, - 875, - 877, - 865, - 870 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 861 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 1, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 878, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 904, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 924, - "name": "CustomAuthError" - } - ] - }, - { - "id": 951, - "name": "AuthEventMissingError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 962, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 30, - "character": 4 - } - ], - "signatures": [ - { - "id": 963, - "name": "new AuthEventMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 951, - "qualifiedName": "AuthEventMissingError", - "package": "@supabase/gotrue-js", - "name": "AuthEventMissingError" - }, - "overwrites": { - "type": "reference", - "id": 936, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 935, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 972, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 948, - "name": "CustomAuthError.__isAuthError" - } - }, - { - "id": 973, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 949, - "name": "CustomAuthError.message" - } - }, - { - "id": 964, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 940, - "name": "CustomAuthError.name" - } - }, - { - "id": 974, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 950, - "name": "CustomAuthError.stack" - } - }, - { - "id": 965, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 941, - "name": "CustomAuthError.status" - } - }, - { - "id": 956, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 957, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 958, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 959, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 960, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 929, - "name": "CustomAuthError.prepareStackTrace" - } - }, - { - "id": 961, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 934, - "name": "CustomAuthError.stackTraceLimit" - } - }, - { - "id": 966, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 23, - "character": 4 - } - ], - "signatures": [ - { - "id": 967, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 968, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 970, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 969, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 971, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 970, - 969, - 971 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 943, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 942, - "name": "CustomAuthError.toJSON" - } - }, - { - "id": 952, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 953, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 954, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 955, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 926, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 925, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 962 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 972, - 973, - 964, - 974, - 965, - 956, - 961 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 966, - 952 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 29, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 924, - "qualifiedName": "CustomAuthError", - "package": "@supabase/gotrue-js", - "name": "CustomAuthError" - } - ] - }, - { - "id": 1023, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1034, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 39, - "character": 4 - } - ], - "signatures": [ - { - "id": 1035, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1036, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1023, - "qualifiedName": "AuthInvalidCredentialsError", - "package": "@supabase/gotrue-js", - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 936, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 935, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1045, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 948, - "name": "CustomAuthError.__isAuthError" - } - }, - { - "id": 1046, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 949, - "name": "CustomAuthError.message" - } - }, - { - "id": 1037, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 940, - "name": "CustomAuthError.name" - } - }, - { - "id": 1047, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 950, - "name": "CustomAuthError.stack" - } - }, - { - "id": 1038, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 941, - "name": "CustomAuthError.status" - } - }, - { - "id": 1028, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1029, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 1030, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 1031, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 1032, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 929, - "name": "CustomAuthError.prepareStackTrace" - } - }, - { - "id": 1033, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 934, - "name": "CustomAuthError.stackTraceLimit" - } - }, - { - "id": 1039, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 23, - "character": 4 - } - ], - "signatures": [ - { - "id": 1040, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1041, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1043, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1042, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1044, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1043, - 1042, - 1044 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 943, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 942, - "name": "CustomAuthError.toJSON" - } - }, - { - "id": 1024, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 1025, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 1026, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 1027, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 926, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 925, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 1034 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 1045, - 1046, - 1037, - 1047, - 1038, - 1028, - 1033 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1039, - 1024 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 38, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 924, - "qualifiedName": "CustomAuthError", - "package": "@supabase/gotrue-js", - "name": "CustomAuthError" - } - ] - }, - { - "id": 999, - "name": "AuthNoCookieError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1010, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 36, - "character": 4 - } - ], - "signatures": [ - { - "id": 1011, - "name": "new AuthNoCookieError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 999, - "qualifiedName": "AuthNoCookieError", - "package": "@supabase/gotrue-js", - "name": "AuthNoCookieError" - }, - "overwrites": { - "type": "reference", - "id": 936, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 935, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1020, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 948, - "name": "CustomAuthError.__isAuthError" - } - }, - { - "id": 1021, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 949, - "name": "CustomAuthError.message" - } - }, - { - "id": 1012, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 940, - "name": "CustomAuthError.name" - } - }, - { - "id": 1022, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 950, - "name": "CustomAuthError.stack" - } - }, - { - "id": 1013, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 941, - "name": "CustomAuthError.status" - } - }, - { - "id": 1004, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1005, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 1006, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 1007, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 1008, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 929, - "name": "CustomAuthError.prepareStackTrace" - } - }, - { - "id": 1009, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 934, - "name": "CustomAuthError.stackTraceLimit" - } - }, - { - "id": 1014, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 23, - "character": 4 - } - ], - "signatures": [ - { - "id": 1015, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1016, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1018, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1017, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1019, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1018, - 1017, - 1019 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 943, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 942, - "name": "CustomAuthError.toJSON" - } - }, - { - "id": 1000, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 1001, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 1002, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 1003, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 926, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 925, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 1010 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 1020, - 1021, - 1012, - 1022, - 1013, - 1004, - 1009 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1014, - 1000 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 35, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 924, - "qualifiedName": "CustomAuthError", - "package": "@supabase/gotrue-js", - "name": "CustomAuthError" - } - ] - }, - { - "id": 975, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 986, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 33, - "character": 4 - } - ], - "signatures": [ - { - "id": 987, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 975, - "qualifiedName": "AuthSessionMissingError", - "package": "@supabase/gotrue-js", - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 936, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 935, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 996, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 948, - "name": "CustomAuthError.__isAuthError" - } - }, - { - "id": 997, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 949, - "name": "CustomAuthError.message" - } - }, - { - "id": 988, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 940, - "name": "CustomAuthError.name" - } - }, - { - "id": 998, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 950, - "name": "CustomAuthError.stack" - } - }, - { - "id": 989, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 941, - "name": "CustomAuthError.status" - } - }, - { - "id": 980, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 981, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 982, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 983, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 984, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 929, - "name": "CustomAuthError.prepareStackTrace" - } - }, - { - "id": 985, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 934, - "name": "CustomAuthError.stackTraceLimit" - } - }, - { - "id": 990, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 23, - "character": 4 - } - ], - "signatures": [ - { - "id": 991, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 992, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 994, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 993, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 995, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 994, - 993, - 995 - ] - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 943, - "name": "CustomAuthError.toJSON" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 942, - "name": "CustomAuthError.toJSON" - } - }, - { - "id": 976, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 977, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 978, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 979, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 926, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 925, - "name": "CustomAuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 986 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 996, - 997, - 988, - 998, - 989, - 980, - 985 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 990, - 976 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 32, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 924, - "qualifiedName": "CustomAuthError", - "package": "@supabase/gotrue-js", - "name": "CustomAuthError" - } - ] - }, - { - "id": 904, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 915, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 17, - "character": 4 - } - ], - "signatures": [ - { - "id": 916, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 917, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 918, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 904, - "qualifiedName": "AuthUnknownError", - "package": "@supabase/gotrue-js", - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 872, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 871, - "name": "AuthError.constructor" - } - }, - { - "id": 920, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 874, - "name": "AuthError.__isAuthError" - } - }, - { - "id": 922, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 876, - "name": "AuthError.message" - } - }, - { - "id": 921, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1022, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 875, - "name": "AuthError.name" - } - }, - { - "id": 919, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 16, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 923, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 877, - "name": "AuthError.stack" - } - }, - { - "id": 909, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 910, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 911, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 912, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 913, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 865, - "name": "AuthError.prepareStackTrace" - } - }, - { - "id": 914, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 870, - "name": "AuthError.stackTraceLimit" - } - }, - { - "id": 905, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 906, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 907, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 908, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 862, - "name": "AuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 861, - "name": "AuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 915 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 920, - 922, - 921, - 919, - 923, - 909, - 914 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 905 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 15, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - ] - }, - { - "id": 924, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 935, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 22, - "character": 4 - } - ], - "signatures": [ - { - "id": 936, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 937, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 938, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 939, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 924, - "qualifiedName": "CustomAuthError", - "package": "@supabase/gotrue-js", - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 872, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 871, - "name": "AuthError.constructor" - } - }, - { - "id": 948, - "name": "__isAuthError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 2, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "id": 874, - "name": "AuthError.__isAuthError" - } - }, - { - "id": 949, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1023, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 876, - "name": "AuthError.message" - } - }, - { - "id": 940, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 20, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "id": 875, - "name": "AuthError.name" - } - }, - { - "id": 950, - "name": "stack", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.es5.d.ts", - "line": 1024, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 877, - "name": "AuthError.stack" - } - }, - { - "id": 941, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 929, - "name": "prepareStackTrace", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 930, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 931, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Optional override for formatting stack traces", - "tags": [ - { - "tag": "see", - "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" - } - ] - }, - "parameters": [ - { - "id": 932, - "name": "err", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - }, - { - "id": 933, - "name": "stackTraces", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "NodeJS.CallSite", - "package": "@types/node", - "name": "CallSite" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "id": 865, - "name": "AuthError.prepareStackTrace" - } - }, - { - "id": 934, - "name": "stackTraceLimit", - "kind": 1024, - "kindString": "Property", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@types/node/globals.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 870, - "name": "AuthError.stackTraceLimit" - } - }, - { - "id": 942, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 23, - "character": 4 - } - ], - "signatures": [ - { - "id": 943, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 944, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 946, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 945, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 947, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 946, - 945, - 947 - ] - } - ] - } - } - } - ] - }, - { - "id": 925, - "name": "captureStackTrace", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "signatures": [ - { - "id": 926, - "name": "captureStackTrace", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create .stack property on a target object" - }, - "parameters": [ - { - "id": 927, - "name": "targetObject", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 928, - "name": "constructorOpt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - }, - "inheritedFrom": { - "type": "reference", - "id": 862, - "name": "AuthError.captureStackTrace" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 861, - "name": "AuthError.captureStackTrace" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 935 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 948, - 949, - 940, - 950, - 941, - 929, - 934 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 942, - 925 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 19, - "character": 21 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 951, - "name": "AuthEventMissingError" - }, - { - "type": "reference", - "id": 975, - "name": "AuthSessionMissingError" - }, - { - "type": "reference", - "id": 999, - "name": "AuthNoCookieError" - }, - { - "type": "reference", - "id": 1023, - "name": "AuthInvalidCredentialsError" - } - ] - }, - { - "id": 256, - "name": "GoTrueApi", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 257, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 11, - "character": 4 - } - ], - "signatures": [ - { - "id": 258, - "name": "new GoTrueApi", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 259, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 260, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 266, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 16, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 784, - "qualifiedName": "CookieOptions", - "package": "@supabase/gotrue-js", - "name": "CookieOptions" - } - }, - { - "id": 267, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 17, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 268, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 269, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 270, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 271, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "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": 262, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 13, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 263, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 264, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 265, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 261, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 12, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 266, - 267, - 262, - 261 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 256, - "qualifiedName": "GoTrueApi", - "package": "@supabase/gotrue-js", - "name": "default" - } - } - ] - }, - { - "id": 283, - "name": "_createRequestHeaders", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "comment": { - "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods", - "tags": [ - { - "tag": "param", - "text": "A valid, logged-in JWT.\n", - "param": "jwt" - } - ] - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 284, - "name": "cookieName", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 277, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 9, - "character": 14 - } - ], - "type": { - "type": "reference", - "id": 784, - "qualifiedName": "CookieOptions", - "package": "@supabase/gotrue-js", - "name": "CookieOptions" - } - }, - { - "id": 278, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 10, - "character": 14 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 279, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 280, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 281, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 282, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "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": 273, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 6, - "character": 14 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 275, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 276, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 272, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 5, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 500, - "name": "createUser", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 298, - "character": 4 - } - ], - "signatures": [ - { - "id": 501, - "name": "createUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Creates a new user.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" - }, - "parameters": [ - { - "id": 502, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The data you want to create the user with.\n" - }, - "type": { - "type": "reference", - "id": 766, - "qualifiedName": "AdminUserAttributes", - "package": "@supabase/gotrue-js", - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 503, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 505, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 300, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 506, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 301, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 504, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 299, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 505, - 506, - 504 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 507, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 509, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 304, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 510, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 305, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 508, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 303, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 509, - 510, - 508 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 471, - "name": "deleteAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 259, - "character": 4 - } - ], - "signatures": [ - { - "id": 472, - "name": "deleteAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Deletes the Auth Cookies and redirects to the" - }, - "parameters": [ - { - "id": 473, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 474, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 475, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 476, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 477, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 260, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 477 - ] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 552, - "name": "deleteUser", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 369, - "character": 4 - } - ], - "signatures": [ - { - "id": 553, - "name": "deleteUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Delete a user. Requires a `service_role` key.", - "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" - }, - "parameters": [ - { - "id": 554, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The user uid you want to remove.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 555, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 557, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 371, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 556, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 370, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 557, - 556 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 558, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 560, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 374, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 559, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 373, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 560, - 559 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 482, - "name": "generateLink", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 277, - "character": 4 - } - ], - "signatures": [ - { - "id": 483, - "name": "generateLink", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Generates links to be sent via email or other." - }, - "parameters": [ - { - "id": 484, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")." - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "signup" - }, - { - "type": "literal", - "value": "magiclink" - }, - { - "type": "literal", - "value": "recovery" - }, - { - "type": "literal", - "value": "invite" - } - ] - } - }, - { - "id": 485, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The user's email." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 486, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 487, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 489, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata. For signup only." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 279, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 488, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "User password. For signup only." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 278, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 490, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 280, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 489, - 488, - 490 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 491, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 492, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 282, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 493, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 283, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 492, - 493 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 494, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 495, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 285, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 496, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 286, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 495, - 496 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 497, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 498, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 288, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 499, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 289, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 498, - 499 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 478, - "name": "getAuthCookieString", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 268, - "character": 4 - } - ], - "signatures": [ - { - "id": 479, - "name": "getAuthCookieString", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.", - "returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n" - }, - "parameters": [ - { - "id": 480, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 481, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The response object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ] - }, - { - "id": 285, - "name": "getUrlForProvider", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 32, - "character": 4 - } - ], - "signatures": [ - { - "id": 286, - "name": "getUrlForProvider", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Generates the relevant login URL for a third-party provider." - }, - "parameters": [ - { - "id": 287, - "name": "provider", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "One of the providers supported by GoTrue." - }, - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - }, - { - "id": 288, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 289, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 292, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 35, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 293, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 294, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 295, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 290, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 33, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 291, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 34, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 292, - 290, - 291 - ] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 561, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 385, - "character": 4 - } - ], - "signatures": [ - { - "id": 562, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Gets the current user details.", - "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n" - }, - "parameters": [ - { - "id": 563, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 564, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 566, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 387, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 565, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 386, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 566, - 565 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 567, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 569, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 390, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 568, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 389, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 569, - 568 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 528, - "name": "getUserByCookie", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 337, - "character": 4 - } - ], - "signatures": [ - { - "id": 529, - "name": "getUserByCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 530, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 531, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 532, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 535, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 340, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - ] - } - }, - { - "id": 536, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 341, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 533, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 338, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 534, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 339, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 535, - 536, - 533, - 534 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 537, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 540, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 345, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - ] - } - }, - { - "id": 541, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 346, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 538, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 343, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 539, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 344, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 540, - 541, - 538, - 539 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 519, - "name": "getUserById", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 326, - "character": 4 - } - ], - "signatures": [ - { - "id": 520, - "name": "getUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Get user by id." - }, - "parameters": [ - { - "id": 521, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "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": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 522, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 524, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 328, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 523, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 327, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 524, - 523 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 525, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 527, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 331, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 526, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 330, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 527, - 526 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 431, - "name": "inviteUserByEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 210, - "character": 4 - } - ], - "signatures": [ - { - "id": 432, - "name": "inviteUserByEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sends an invite link to an email address." - }, - "parameters": [ - { - "id": 433, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 434, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 435, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 437, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 212, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 436, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 211, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 437, - 436 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 438, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 440, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 215, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 439, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 214, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 440, - 439 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 441, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 443, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 218, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 442, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 443, - 442 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 511, - "name": "listUsers", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 312, - "character": 4 - } - ], - "signatures": [ - { - "id": 512, - "name": "listUsers", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "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" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 513, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 515, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 314, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 514, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 313, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 515, - 514 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 516, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 518, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 317, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 517, - "name": "users", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 316, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 518, - 517 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 458, - "name": "refreshAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 239, - "character": 4 - } - ], - "signatures": [ - { - "id": 459, - "name": "refreshAccessToken", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Generates a new JWT." - }, - "parameters": [ - { - "id": 460, - "name": "refreshToken", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A valid refresh token that was returned on login.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 461, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 463, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 241, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 462, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 240, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 463, - 462 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 464, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 466, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 244, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 465, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 243, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 466, - 465 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 444, - "name": "resetPasswordForEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 225, - "character": 4 - } - ], - "signatures": [ - { - "id": 445, - "name": "resetPasswordForEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sends a reset request to an email address." - }, - "parameters": [ - { - "id": 446, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 448, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 450, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 227, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 449, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 226, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 450, - 449 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 451, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 452, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 229, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 453, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - } - } - } - }, - { - "id": 454, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 230, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 452, - 454 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 455, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 456, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 232, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 457, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 233, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 456, - 457 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 366, - "name": "sendMagicLinkEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 133, - "character": 4 - } - ], - "signatures": [ - { - "id": 367, - "name": "sendMagicLinkEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sends a magic login link to an email address." - }, - "parameters": [ - { - "id": 368, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 369, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 370, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 373, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 136, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 372, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 135, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 371, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 134, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 373, - 372, - 371 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 374, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 375, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 138, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 376, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - } - } - } - }, - { - "id": 377, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 139, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 375, - 377 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 379, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 141, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 380, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 142, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 379, - 380 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 381, - "name": "sendMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 149, - "character": 4 - } - ], - "signatures": [ - { - "id": 382, - "name": "sendMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" - }, - "parameters": [ - { - "id": 383, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 384, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 385, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 387, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 151, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 150, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 387, - 386 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 388, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 389, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 153, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 390, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - } - } - } - }, - { - "id": 391, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 154, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 389, - 391 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 392, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 393, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 156, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 394, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 157, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 393, - 394 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 467, - "name": "setAuthCookie", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 252, - "character": 4 - } - ], - "signatures": [ - { - "id": 468, - "name": "setAuthCookie", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)." - }, - "parameters": [ - { - "id": 469, - "name": "req", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The request object." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 470, - "name": "res", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The response object.\n" - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 314, - "name": "signInWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 69, - "character": 4 - } - ], - "signatures": [ - { - "id": 315, - "name": "signInWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Logs in an existing user using their email address." - }, - "parameters": [ - { - "id": 316, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 317, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 318, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 319, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 320, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 70, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 320 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 321, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 322, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 72, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 323, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 73, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 322, - 323 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 324, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 325, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 75, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 326, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 76, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 325, - 326 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 357, - "name": "signInWithOpenIDConnect", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 120, - "character": 4 - } - ], - "signatures": [ - { - "id": 358, - "name": "signInWithOpenIDConnect", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Logs in an OpenID Connect user using their id_token." - }, - "parameters": [ - { - "id": 359, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 843, - "qualifiedName": "OpenIDConnectCredentials", - "package": "@supabase/gotrue-js", - "name": "OpenIDConnectCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 360, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 362, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 122, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 361, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 121, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 362, - 361 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 365, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 364, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 365, - 364 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 344, - "name": "signInWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 103, - "character": 4 - } - ], - "signatures": [ - { - "id": 345, - "name": "signInWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Logs in an existing user using their phone number and password." - }, - "parameters": [ - { - "id": 346, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 347, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 348, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 349, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 350, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Verification token received when the user completes the captcha on your site.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 104, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 350 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 351, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 353, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 107, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 352, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 106, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 353, - 352 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 354, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 356, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 355, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 109, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 356, - 355 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 395, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 163, - "character": 4 - } - ], - "signatures": [ - { - "id": 396, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Removes a logged-in session." - }, - "parameters": [ - { - "id": 397, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A valid, logged-in JWT.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 398, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 399, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 164, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 399 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 296, - "name": "signUpWithEmail", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 49, - "character": 4 - } - ], - "signatures": [ - { - "id": 297, - "name": "signUpWithEmail", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Creates a new user using their email address.", - "returns": "A logged-in session if the server has \"autoconfirm\" ON" - }, - "parameters": [ - { - "id": 298, - "name": "email", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The email address of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 299, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 300, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 301, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 304, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 303, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 51, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 302, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 50, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 304, - 303, - 302 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 305, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 306, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 54, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 307, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 55, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 306, - 307 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 308, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 309, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 310, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 58, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 309, - 310 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 311, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 312, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 60, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 313, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 61, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 312, - 313 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 327, - "name": "signUpWithPhone", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 84, - "character": 4 - } - ], - "signatures": [ - { - "id": 328, - "name": "signUpWithPhone", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Signs up a new user using their phone number and a password." - }, - "parameters": [ - { - "id": 329, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The phone number of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 330, - "name": "password", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The password of the user." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 331, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 332, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 334, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 86, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 333, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 85, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 334, - 333 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 335, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 336, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 88, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 337, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 89, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 336, - 337 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 338, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 339, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 91, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 340, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 92, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 339, - 340 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 341, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 342, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 94, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 343, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 95, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 342, - 343 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 570, - "name": "updateUser", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 397, - "character": 4 - } - ], - "signatures": [ - { - "id": 571, - "name": "updateUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 572, - "name": "jwt", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A valid, logged-in JWT." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 573, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The data you want to update.\n" - }, - "type": { - "type": "reference", - "id": 760, - "qualifiedName": "UserAttributes", - "package": "@supabase/gotrue-js", - "name": "UserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 574, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 576, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 399, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 575, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 398, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 576, - 575 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 577, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 579, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 402, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 578, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 401, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 579, - 578 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 542, - "name": "updateUserById", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 355, - "character": 4 - } - ], - "signatures": [ - { - "id": 543, - "name": "updateUserById", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Updates the user data." - }, - "parameters": [ - { - "id": 544, - "name": "uid", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 545, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "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" - }, - "type": { - "type": "reference", - "id": 766, - "qualifiedName": "AdminUserAttributes", - "package": "@supabase/gotrue-js", - "name": "AdminUserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 546, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 548, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 357, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 547, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 356, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 548, - 547 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 549, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 551, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 360, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 550, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 359, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 551, - 550 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 400, - "name": "verifyMobileOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 172, - "character": 4 - } - ], - "signatures": [ - { - "id": 401, - "name": "verifyMobileOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `verifyOTP` instead!" - } - ] - }, - "parameters": [ - { - "id": 402, - "name": "phone", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The user's phone number WITH international prefix" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "token that user was sent to their mobile phone" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 405, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 406, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 173, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 406 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 407, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 408, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 175, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 409, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 176, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 408, - 409 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 410, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 411, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 178, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 412, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 179, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 411, - 412 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 413, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 414, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 181, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 415, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 182, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 414, - 415 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 416, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 192, - "character": 4 - } - ], - "signatures": [ - { - "id": 417, - "name": "verifyOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Send User supplied Email / Mobile OTP to be verified" - }, - "parameters": [ - { - "id": 418, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 830, - "qualifiedName": "VerifyOTPParams", - "package": "@supabase/gotrue-js", - "name": "VerifyOTPParams" - } - }, - { - "id": 419, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 420, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 421, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 193, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 421 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 422, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 423, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 195, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - }, - { - "id": 424, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 196, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 423, - 424 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 425, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 426, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 198, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - }, - { - "id": 427, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 199, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 426, - 427 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 429, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 201, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 430, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 202, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 429, - 430 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 257 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 283, - 284, - 277, - 278, - 273, - 272 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 500, - 471, - 552, - 482, - 478, - 285, - 561, - 528, - 519, - 431, - 511, - 458, - 444, - 366, - 381, - 467, - 314, - 357, - 344, - 395, - 296, - 327, - 570, - 542, - 400, - 416 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", - "line": 4, - "character": 21 - } - ] - }, - { - "id": 580, - "name": "GoTrueClient", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 581, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 41, - "character": 4 - } - ], - "signatures": [ - { - "id": 582, - "name": "new GoTrueClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Create a new client for use in the browser." - }, - "parameters": [ - { - "id": 583, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 584, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 592, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 596, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": {}, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 784, - "qualifiedName": "CookieOptions", - "package": "@supabase/gotrue-js", - "name": "CookieOptions" - } - }, - { - "id": 591, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 47, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 597, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 598, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 599, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A custom fetch implementation.\n" - }, - "parameters": [ - { - "id": 600, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 601, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "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": 586, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Any additional headers to send to the GoTrue server." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 43, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 587, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 588, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 589, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 595, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Set to \"false\" if you want to disable multi-tab/window events." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 51, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 593, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 594, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 50, - "character": 8 - } - ], - "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" - } - ], - "qualifiedName": "PromisifyMethods", - "package": "@supabase/gotrue-js", - "name": "PromisifyMethods" - } - }, - { - "id": 590, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional key name used for storing tokens in local storage" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 46, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 585, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The URL of the GoTrue server." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 42, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 592, - 596, - 591, - 597, - 586, - 595, - 593, - 594, - 590, - 585 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 580, - "qualifiedName": "GoTrueClient", - "package": "@supabase/gotrue-js", - "name": "default" - } - } - ] - }, - { - "id": 712, - "name": "_callRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 199, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 706, - "name": "_doesSessionExist", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 189, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 707, - "name": "_handleEmailSignIn", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 190, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 710, - "name": "_handleOpenIDConnectSignIn", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 193, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 708, - "name": "_handlePhoneSignIn", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 191, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 709, - "name": "_handleProviderSignIn", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 192, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 718, - "name": "_handleVisibilityChange", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 213, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 713, - "name": "_notifyAllSubscribers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 200, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 715, - "name": "_persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 206, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 711, - "name": "_recoverAndRefresh", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "comment": { - "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 198, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 716, - "name": "_removeSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 207, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 714, - "name": "_saveSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "comment": { - "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 205, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 717, - "name": "_startAutoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "comment": { - "shortText": "Clear and re-create refresh token timer", - "tags": [ - { - "tag": "param", - "text": "time intervals in milliseconds\n", - "param": "value" - } - ] - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 212, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 602, - "name": "api", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 256, - "qualifiedName": "GoTrueApi", - "package": "@supabase/gotrue-js", - "name": "default" - } - }, - { - "id": 605, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 21, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 604, - "name": "inMemorySession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "comment": { - "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 20, - "character": 14 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - ] - } - }, - { - "id": 610, - "name": "networkRetries", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 26, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 606, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 22, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 609, - "name": "refreshTokenTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 25, - "character": 14 - } - ], - "type": { - "type": "reference", - "qualifiedName": "global.NodeJS.Timeout", - "package": "@types/node", - "name": "Timeout" - } - }, - { - "id": 611, - "name": "refreshingDeferred", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 27, - "character": 14 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 850, - "qualifiedName": "CallRefreshTokenResult", - "package": "@supabase/gotrue-js", - "name": "CallRefreshTokenResult" - } - ], - "qualifiedName": "Deferred", - "package": "@supabase/gotrue-js", - "name": "Deferred" - } - ] - } - }, - { - "id": 608, - "name": "stateChangeEmitters", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 24, - "character": 14 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 776, - "qualifiedName": "Subscription", - "package": "@supabase/gotrue-js", - "name": "Subscription" - } - ], - "qualifiedName": "Map", - "package": "typescript", - "name": "Map" - } - }, - { - "id": 607, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 23, - "character": 14 - } - ], - "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" - } - ], - "qualifiedName": "PromisifyMethods", - "package": "@supabase/gotrue-js", - "name": "PromisifyMethods" - } - }, - { - "id": 603, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isExternal": true - }, - "comment": { - "shortText": "The storage key used to identity the values saved in localStorage" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 15, - "character": 14 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 635, - "name": "getSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 109, - "character": 4 - } - ], - "signatures": [ - { - "id": 636, - "name": "getSession", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns the session data, refreshing it if necessary." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 637, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 639, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 111, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 638, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 639, - 638 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 640, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 642, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 114, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 641, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 113, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 642, - 641 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 643, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 645, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 117, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 644, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 116, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 645, - 644 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 678, - "name": "getSessionFromUrl", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 160, - "character": 4 - } - ], - "signatures": [ - { - "id": 679, - "name": "getSessionFromUrl", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Gets the session data from a URL string" - }, - "parameters": [ - { - "id": 680, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 681, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 682, - "name": "storeSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optionally store the session in the browser\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 161, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 682 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 683, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 685, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 164, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 684, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 163, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 685, - 684 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 686, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 688, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 167, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 687, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 166, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 688, - 687 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 646, - "name": "getUser", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 122, - "character": 4 - } - ], - "signatures": [ - { - "id": 647, - "name": "getUser", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns the user data, refreshing the session if necessary." - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 648, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 650, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 124, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 649, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 123, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 650, - 649 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 651, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 653, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 127, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 652, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 126, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 653, - 652 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 654, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 656, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 130, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 655, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 129, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 656, - 655 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 693, - "name": "onAuthStateChange", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 182, - "character": 4 - } - ], - "signatures": [ - { - "id": 694, - "name": "onAuthStateChange", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Receive a notification every time an auth event happens.", - "returns": "A subscription object which can be used to unsubscribe itself.\n" - }, - "parameters": [ - { - "id": 695, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 696, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 697, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 698, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 720, - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/gotrue-js", - "name": "AuthChangeEvent" - } - }, - { - "id": 699, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 700, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 702, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 184, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 701, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 183, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 776, - "qualifiedName": "Subscription", - "package": "@supabase/gotrue-js", - "name": "Subscription" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 702, - 701 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 703, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 705, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 187, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 704, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 186, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 705, - 704 - ] - } - ] - } - } - ] - } - } - ] - }, - { - "id": 666, - "name": "setSession", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 146, - "character": 4 - } - ], - "signatures": [ - { - "id": 667, - "name": "setSession", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sets the session data from refresh_token and returns current Session and Error" - }, - "parameters": [ - { - "id": 668, - "name": "refresh_token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "a JWT token\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 669, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 671, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 148, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 670, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 147, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 671, - 670 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 672, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 674, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 151, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 673, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 150, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 674, - 673 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 675, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 677, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 154, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 676, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 153, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 677, - 676 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 623, - "name": "signInWithOAuth", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 86, - "character": 4 - } - ], - "signatures": [ - { - "id": 624, - "name": "signInWithOAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Log in an existing user via a third-party provider." - }, - "parameters": [ - { - "id": 625, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 819, - "qualifiedName": "SignInWithOAuthCredentials", - "package": "@supabase/gotrue-js", - "name": "SignInWithOAuthCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 734, - "qualifiedName": "OAuthResponse", - "package": "@supabase/gotrue-js", - "name": "OAuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 626, - "name": "signInWithOtp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 94, - "character": 4 - } - ], - "signatures": [ - { - "id": 627, - "name": "signInWithOtp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Passwordless method for logging in an existing user." - }, - "parameters": [ - { - "id": 628, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 808, - "qualifiedName": "SignInWithPasswordlessCredentials", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordlessCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 721, - "qualifiedName": "AuthResponse", - "package": "@supabase/gotrue-js", - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 620, - "name": "signInWithPassword", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 77, - "character": 4 - } - ], - "signatures": [ - { - "id": 621, - "name": "signInWithPassword", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Log in an existing user, or login via a third-party provider." - }, - "parameters": [ - { - "id": 622, - "name": "credentials", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 797, - "qualifiedName": "SignInWithPasswordCredentials", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordCredentials" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 721, - "qualifiedName": "AuthResponse", - "package": "@supabase/gotrue-js", - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 689, - "name": "signOut", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 175, - "character": 4 - } - ], - "signatures": [ - { - "id": 690, - "name": "signOut", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", - "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n" - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 691, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 692, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 176, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 692 - ] - } - ] - } - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 612, - "name": "signUp", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 64, - "character": 4 - } - ], - "signatures": [ - { - "id": 613, - "name": "signUp", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Creates a new user." - }, - "parameters": [ - { - "id": 614, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 790, - "qualifiedName": "UserCredentials", - "package": "@supabase/gotrue-js", - "name": "UserCredentials" - } - }, - { - "id": 615, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 616, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 619, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 67, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 618, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Optional user metadata.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 66, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 617, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The redirect URL attached to the signup confirmation link. Does not redirect the user if it's a mobile signup." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 65, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 619, - 618, - 617 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 721, - "qualifiedName": "AuthResponse", - "package": "@supabase/gotrue-js", - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 657, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 135, - "character": 4 - } - ], - "signatures": [ - { - "id": 658, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Updates user data, if there is a logged in user." - }, - "parameters": [ - { - "id": 659, - "name": "attributes", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 760, - "qualifiedName": "UserAttributes", - "package": "@supabase/gotrue-js", - "name": "UserAttributes" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 660, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 662, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 137, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 661, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 136, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 662, - 661 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 663, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 665, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 140, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 664, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 139, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 665, - 664 - ] - } - ] - } - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 629, - "name": "verifyOTP", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 103, - "character": 4 - } - ], - "signatures": [ - { - "id": 630, - "name": "verifyOTP", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Log in a user given a User supplied OTP received via mobile." - }, - "parameters": [ - { - "id": 631, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 830, - "qualifiedName": "VerifyOTPParams", - "package": "@supabase/gotrue-js", - "name": "VerifyOTPParams" - } - }, - { - "id": 632, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 633, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 634, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 104, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 634 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 721, - "qualifiedName": "AuthResponse", - "package": "@supabase/gotrue-js", - "name": "AuthResponse" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 581 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 712, - 706, - 707, - 710, - 708, - 709, - 718, - 713, - 715, - 711, - 716, - 714, - 717, - 602, - 605, - 604, - 610, - 606, - 609, - 611, - 608, - 607, - 603 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 635, - 678, - 646, - 693, - 666, - 623, - 626, - 620, - 689, - 612, - 657, - 629 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 6, - "character": 21 - } - ] - }, - { - "id": 1167, - "name": "RealtimeChannel", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1169, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 29, - "character": 4 - } - ], - "signatures": [ - { - "id": 1170, - "name": "new RealtimeChannel", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1171, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1173, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1174, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1175, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1176, - "name": "socket", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 1048, - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1183, - "name": "bindings", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1184, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1185, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1186, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1187, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1193, - "name": "callback", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 18, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1189, - "name": "filter", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 15, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1190, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 15, - "character": 20 - } - ], - "indexSignature": { - "id": 1191, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1192, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1194, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 19, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1188, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 14, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 13, - "character": 23 - } - ] - } - } - } - } - } - } - }, - { - "id": 1308, - "name": "getPayloadRecords", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 101, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1198, - "name": "joinPush", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 25, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Push", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1197, - "name": "joinedOnce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 24, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1178, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 8, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1179, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1180, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1181, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1201, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 1309, - "qualifiedName": "RealtimePresence", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1200, - "name": "pushBuffer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 27, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Push", - "package": "@supabase/realtime-js", - "name": "default" - } - } - }, - { - "id": 1199, - "name": "rejoinTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Timer", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1182, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 1048, - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1196, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 23, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "CHANNEL_STATES", - "package": "@supabase/realtime-js", - "name": "CHANNEL_STATES" - } - }, - { - "id": 1195, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1177, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 7, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1168, - "name": "isEqual", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 100, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1247, - "name": "canPush", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 60, - "character": 4 - } - ], - "signatures": [ - { - "id": 1248, - "name": "canPush", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns `true` if the socket is connected and the channel has been joined." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1298, - "name": "isClosed", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 95, - "character": 4 - } - ], - "signatures": [ - { - "id": 1299, - "name": "isClosed", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1300, - "name": "isErrored", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 96, - "character": 4 - } - ], - "signatures": [ - { - "id": 1301, - "name": "isErrored", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1302, - "name": "isJoined", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 97, - "character": 4 - } - ], - "signatures": [ - { - "id": 1303, - "name": "isJoined", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1304, - "name": "isJoining", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 98, - "character": 4 - } - ], - "signatures": [ - { - "id": 1305, - "name": "isJoining", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1306, - "name": "isLeaving", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 99, - "character": 4 - } - ], - "signatures": [ - { - "id": 1307, - "name": "isLeaving", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1282, - "name": "isMember", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 90, - "character": 4 - } - ], - "signatures": [ - { - "id": 1283, - "name": "isMember", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1284, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1285, - "name": "joinRef", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 91, - "character": 4 - } - ], - "signatures": [ - { - "id": 1286, - "name": "joinRef", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 1240, - "name": "off", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 54, - "character": 4 - } - ], - "signatures": [ - { - "id": 1241, - "name": "off", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1242, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1243, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1245, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1246, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1232, - "name": "on", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 51, - "character": 4 - } - ], - "signatures": [ - { - "id": 1233, - "name": "on", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1234, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1235, - "name": "filter", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1236, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1237, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1238, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1239, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1226, - "name": "onClose", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 46, - "character": 4 - } - ], - "signatures": [ - { - "id": 1227, - "name": "onClose", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Registers a callback that will be executed when the channel closes." - }, - "parameters": [ - { - "id": 1228, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1229, - "name": "onError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 50, - "character": 4 - } - ], - "signatures": [ - { - "id": 1230, - "name": "onError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Registers a callback that will be executed when the channel encounteres an error." - }, - "parameters": [ - { - "id": 1231, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1277, - "name": "onMessage", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 89, - "character": 4 - } - ], - "signatures": [ - { - "id": 1278, - "name": "onMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Overridable message hook", - "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n" - }, - "parameters": [ - { - "id": 1279, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1280, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1281, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 1208, - "name": "presenceState", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 34, - "character": 4 - } - ], - "signatures": [ - { - "id": 1209, - "name": "presenceState", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - } - ] - }, - { - "id": 1249, - "name": "push", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 61, - "character": 4 - } - ], - "signatures": [ - { - "id": 1250, - "name": "push", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1251, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1252, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1253, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1254, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1255, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1256, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "Push", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1287, - "name": "rejoin", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 92, - "character": 4 - } - ], - "signatures": [ - { - "id": 1288, - "name": "rejoin", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1289, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1202, - "name": "rejoinUntilConnected", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 32, - "character": 4 - } - ], - "signatures": [ - { - "id": 1203, - "name": "rejoinUntilConnected", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1295, - "name": "replyEventName", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 94, - "character": 4 - } - ], - "signatures": [ - { - "id": 1296, - "name": "replyEventName", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1297, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 1257, - "name": "send", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 64, - "character": 4 - } - ], - "signatures": [ - { - "id": 1258, - "name": "send", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1259, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1260, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1261, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 65, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1261 - ] - } - ], - "indexSignature": { - "id": 1262, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1263, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1264, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1265, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1266, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1267, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 1204, - "name": "subscribe", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 33, - "character": 4 - } - ], - "signatures": [ - { - "id": 1205, - "name": "subscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1206, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1207, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1210, - "name": "track", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 35, - "character": 4 - } - ], - "signatures": [ - { - "id": 1211, - "name": "track", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1212, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1213, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1214, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1215, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 1216, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1217, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1218, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1219, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 1290, - "name": "trigger", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 93, - "character": 4 - } - ], - "signatures": [ - { - "id": 1291, - "name": "trigger", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1292, - "name": "type", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1293, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1294, - "name": "ref", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1274, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 82, - "character": 4 - } - ], - "signatures": [ - { - "id": 1275, - "name": "unsubscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "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" - }, - "parameters": [ - { - "id": 1276, - "name": "timeout", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "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": 1220, - "name": "untrack", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 40, - "character": 4 - } - ], - "signatures": [ - { - "id": 1221, - "name": "untrack", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1222, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1223, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1224, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1225, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ok" - }, - { - "type": "literal", - "value": "timed out" - } - ] - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - }, - { - "id": 1268, - "name": "updateJoinPayload", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 70, - "character": 4 - } - ], - "signatures": [ - { - "id": 1269, - "name": "updateJoinPayload", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1270, - "name": "payload", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1271, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1272, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1273, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 1169 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", - "line": 6, - "character": 21 - } - ] - }, - { - "id": 1048, - "name": "RealtimeClient", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1049, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 74, - "character": 4 - } - ], - "signatures": [ - { - "id": 1050, - "name": "new RealtimeClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Initializes the Socket." - }, - "parameters": [ - { - "id": 1051, - "name": "endPoint", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1052, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "id": 1150, - "qualifiedName": "Options", - "package": "@supabase/realtime-js", - "name": "Options" - } - } - ], - "type": { - "type": "reference", - "id": 1048, - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1147, - "name": "_appendParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 177, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1148, - "name": "_flushSendBuffer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 178, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1144, - "name": "_onConnClose", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 174, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1145, - "name": "_onConnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 175, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1143, - "name": "_onConnOpen", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 173, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1149, - "name": "_sendHeartbeat", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 179, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1146, - "name": "_triggerChanError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 176, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1053, - "name": "accessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 31, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1054, - "name": "channels", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - }, - { - "id": 1075, - "name": "conn", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - ] - } - }, - { - "id": 1073, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 49, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1072, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 48, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1055, - "name": "endPoint", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 33, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1056, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 34, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1057, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1058, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1059, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 1066, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 42, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1067, - "name": "heartbeatTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "qualifiedName": "global.NodeJS.Timer", - "package": "@types/node", - "name": "Timer" - } - ] - } - }, - { - "id": 1071, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 47, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1060, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1061, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 1062, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1063, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 1068, - "name": "pendingHeartbeatRef", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1074, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1070, - "name": "reconnectTimer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 46, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Timer", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1069, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 45, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1076, - "name": "sendBuffer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 1077, - "name": "serializer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 53, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Serializer", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1078, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1079, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1081, - "name": "close", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 1082, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 57, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 1083, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 58, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 1080, - "name": "open", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 55, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] - } - ] - } - } - }, - { - "id": 1064, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 40, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1065, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 41, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1121, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 145, - "character": 4 - } - ], - "signatures": [ - { - "id": 1122, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1123, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1124, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "ChannelParams", - "package": "@supabase/realtime-js", - "name": "ChannelParams" - } - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1084, - "name": "connect", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 78, - "character": 4 - } - ], - "signatures": [ - { - "id": 1085, - "name": "connect", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Connects the socket, unless already connected." - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1114, - "name": "connectionState", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 134, - "character": 4 - } - ], - "signatures": [ - { - "id": 1115, - "name": "connectionState", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns the current state of the socket." - }, - "type": { - "type": "reference", - "qualifiedName": "CONNECTION_STATE", - "package": "@supabase/realtime-js", - "name": "CONNECTION_STATE" - } - } - ] - }, - { - "id": 1086, - "name": "disconnect", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 85, - "character": 4 - } - ], - "signatures": [ - { - "id": 1087, - "name": "disconnect", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Disconnects the socket." - }, - "parameters": [ - { - "id": 1088, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A numeric status code to send on disconnect." - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1089, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A custom reason for the disconnect.\n" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1133, - "name": "endPointURL", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 158, - "character": 4 - } - ], - "signatures": [ - { - "id": 1134, - "name": "endPointURL", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns the URL of the websocket." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 1090, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 86, - "character": 4 - } - ], - "signatures": [ - { - "id": 1091, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - } - ] - }, - { - "id": 1116, - "name": "isConnected", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 138, - "character": 4 - } - ], - "signatures": [ - { - "id": 1117, - "name": "isConnected", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Retuns `true` is the connection is open." - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 1140, - "name": "leaveOpenTopic", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 172, - "character": 4 - } - ], - "signatures": [ - { - "id": 1141, - "name": "leaveOpenTopic", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Unsubscribe from channels with the specified topic." - }, - "parameters": [ - { - "id": 1142, - "name": "topic", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1097, - "name": "log", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 94, - "character": 4 - } - ], - "signatures": [ - { - "id": 1098, - "name": "log", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Logs the message.", - "text": "For customized logging, `this.logger` can be overriden.\n" - }, - "parameters": [ - { - "id": 1099, - "name": "kind", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1100, - "name": "msg", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1101, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1135, - "name": "makeRef", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 162, - "character": 4 - } - ], - "signatures": [ - { - "id": 1136, - "name": "makeRef", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Return the next message ref, accounting for overflows" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 1105, - "name": "onClose", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 112, - "character": 4 - } - ], - "signatures": [ - { - "id": 1106, - "name": "onClose", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Registers a callback for connection state change events.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n" - } - ] - }, - "parameters": [ - { - "id": 1107, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1128, - "name": "onConnMessage", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 152, - "character": 4 - } - ], - "signatures": [ - { - "id": 1129, - "name": "onConnMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1130, - "name": "rawMessage", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1131, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1132, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 153, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1132 - ] - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1108, - "name": "onError", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 121, - "character": 4 - } - ], - "signatures": [ - { - "id": 1109, - "name": "onError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Registers a callback for connection state change events.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n" - } - ] - }, - "parameters": [ - { - "id": 1110, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1111, - "name": "onMessage", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 130, - "character": 4 - } - ], - "signatures": [ - { - "id": 1112, - "name": "onMessage", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Calls a function any time a message is received.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onMessage((message) => console.log(message))\n" - } - ] - }, - "parameters": [ - { - "id": 1113, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1102, - "name": "onOpen", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 103, - "character": 4 - } - ], - "signatures": [ - { - "id": 1103, - "name": "onOpen", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Registers a callback for connection state change event.", - "tags": [ - { - "tag": "example", - "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n" - } - ] - }, - "parameters": [ - { - "id": 1104, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A function to be called when the event occurs.\n" - }, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1125, - "name": "push", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 151, - "character": 4 - } - ], - "signatures": [ - { - "id": 1126, - "name": "push", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "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" - }, - "parameters": [ - { - "id": 1127, - "name": "data", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "Message", - "package": "@supabase/realtime-js", - "name": "Message" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1118, - "name": "remove", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 144, - "character": 4 - } - ], - "signatures": [ - { - "id": 1119, - "name": "remove", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Removes a subscription from the socket." - }, - "parameters": [ - { - "id": 1120, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "An open subscription.\n" - }, - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1095, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 88, - "character": 4 - } - ], - "signatures": [ - { - "id": 1096, - "name": "removeAllChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "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": 1092, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 87, - "character": 4 - } - ], - "signatures": [ - { - "id": 1093, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1094, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 1167, - "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": 1137, - "name": "setAuth", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 168, - "character": 4 - } - ], - "signatures": [ - { - "id": 1138, - "name": "setAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." - }, - "parameters": [ - { - "id": 1139, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "A JWT string.\n" - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 1049 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 30, - "character": 21 - } - ] - }, - { - "id": 1309, - "name": "RealtimePresence", - "kind": 128, - "kindString": "Class", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1330, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 43, - "character": 4 - } - ], - "signatures": [ - { - "id": 1331, - "name": "new RealtimePresence", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Initializes the Presence." - }, - "parameters": [ - { - "id": 1332, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The RealtimeChannel" - }, - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1333, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOpts", - "package": "@types/phoenix", - "name": "PresenceOpts" - } - } - ], - "type": { - "type": "reference", - "id": 1309, - "qualifiedName": "RealtimePresence", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 1338, - "name": "caller", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 31, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1339, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1340, - "name": "onJoin", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 32, - "character": 8 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 1341, - "name": "onLeave", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 33, - "character": 8 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - }, - { - "id": 1342, - "name": "onSync", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 34, - "character": 8 - } - ], - "signatures": [ - { - "id": 1343, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1340, - 1341 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1342 - ] - } - ] - } - } - }, - { - "id": 1334, - "name": "channel", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 27, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 1359, - "name": "inPendingSyncState", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 94, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1337, - "name": "joinRef", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 30, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1336, - "name": "pendingDiffs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 29, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "RawPresenceDiff", - "package": "@supabase/realtime-js", - "name": "RawPresenceDiff" - } - } - }, - { - "id": 1335, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - }, - { - "id": 1329, - "name": "cloneDeep", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 89, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1327, - "name": "map", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 66, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1328, - "name": "transformState", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPrivate": true, - "isStatic": true, - "isExternal": true - }, - "comment": { - "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'", - "tags": [ - { - "tag": "example", - "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '3', user_id: 2 }\n ]\n}\nRealtimePresence.transformState({\n abc123: {\n metas: [\n { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n { phx_ref: '3', user_id: 2 }\n ]\n }\n})\n" - } - ] - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 88, - "character": 19 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1355, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 93, - "character": 4 - } - ], - "signatures": [ - { - "id": 1356, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "typeParameter": [ - { - "id": 1357, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExternal": true - }, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 1358, - "name": "by", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true, - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1357, - "qualifiedName": "T", - "package": "@supabase/realtime-js", - "name": "T" - } - ], - "qualifiedName": "PresenceChooser", - "package": "@supabase/realtime-js", - "name": "PresenceChooser" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1357, - "qualifiedName": "T", - "package": "@supabase/realtime-js", - "name": "T" - } - } - } - ] - }, - { - "id": 1344, - "name": "onJoin", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 90, - "character": 4 - } - ], - "signatures": [ - { - "id": 1345, - "name": "onJoin", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1346, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1347, - "name": "onLeave", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 91, - "character": 4 - } - ], - "signatures": [ - { - "id": 1348, - "name": "onLeave", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1349, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1350, - "name": "onSync", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 92, - "character": 4 - } - ], - "signatures": [ - { - "id": 1351, - "name": "onSync", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1352, - "name": "callback", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1353, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "signatures": [ - { - "id": 1354, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 1322, - "name": "list", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 65, - "character": 11 - } - ], - "signatures": [ - { - "id": 1323, - "name": "list", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Returns the array of presences, with selected metadata." - }, - "typeParameter": [ - { - "id": 1324, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExternal": true - }, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 1325, - "name": "presences", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - }, - { - "id": 1326, - "name": "chooser", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 1324, - "qualifiedName": "T", - "package": "@supabase/realtime-js", - "name": "T" - } - ], - "qualifiedName": "PresenceChooser", - "package": "@supabase/realtime-js", - "name": "PresenceChooser" - } - ] - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1324, - "qualifiedName": "T", - "package": "@supabase/realtime-js", - "name": "T" - } - } - } - ] - }, - { - "id": 1316, - "name": "syncDiff", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 61, - "character": 11 - } - ], - "signatures": [ - { - "id": 1317, - "name": "syncDiff", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.", - "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n" - }, - "parameters": [ - { - "id": 1318, - "name": "state", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - }, - { - "id": 1319, - "name": "diff", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RawPresenceDiff", - "package": "@supabase/realtime-js", - "name": "RawPresenceDiff" - }, - { - "type": "reference", - "qualifiedName": "PresenceDiff", - "package": "@supabase/realtime-js", - "name": "PresenceDiff" - } - ] - } - }, - { - "id": 1320, - "name": "onJoin", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 1321, - "name": "onLeave", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - } - ] - }, - { - "id": 1310, - "name": "syncState", - "kind": 2048, - "kindString": "Method", - "flags": { - "isStatic": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 52, - "character": 11 - } - ], - "signatures": [ - { - "id": 1311, - "name": "syncState", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Used to sync the list of presences on the server with the\nclient's state.", - "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n" - }, - "parameters": [ - { - "id": 1312, - "name": "currentState", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - }, - { - "id": 1313, - "name": "newState", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - }, - { - "type": "reference", - "qualifiedName": "RawPresenceState", - "package": "@supabase/realtime-js", - "name": "RawPresenceState" - } - ] - } - }, - { - "id": 1314, - "name": "onJoin", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnJoinCallback", - "package": "@types/phoenix", - "name": "PresenceOnJoinCallback" - } - }, - { - "id": 1315, - "name": "onLeave", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "qualifiedName": "PresenceOnLeaveCallback", - "package": "@types/phoenix", - "name": "PresenceOnLeaveCallback" - } - } - ], - "type": { - "type": "reference", - "qualifiedName": "PresenceState", - "package": "@supabase/realtime-js", - "name": "PresenceState" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 1330 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 1338, - 1334, - 1359, - 1337, - 1336, - 1335, - 1329, - 1327, - 1328 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 1355, - 1344, - 1347, - 1350, - 1322, - 1316, - 1310 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", - "line": 26, - "character": 21 - } - ] - }, - { - "id": 161, - "name": "SupabaseClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "Supabase Client.", - "text": "An isomorphic Javascript client for interacting with Postgres.\n" - }, - "children": [ - { - "id": 162, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 77, - "character": 2 - } - ], - "signatures": [ - { - "id": 163, - "name": "new SupabaseClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Create a new client for use in the browser." - }, - "typeParameter": [ - { - "id": 164, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 165, - "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": 164, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 164, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 166, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 107, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 164, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 107, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 167, - "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": 168, - "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": 169, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "id": 79, - "typeArguments": [ - { - "type": "reference", - "id": 165, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 166, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 170, - "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": 49, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "SupabaseAuthClient" - } - }, - { - "id": 172, - "name": "authUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 52, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 183, - "name": "changedAccessToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 59, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 178, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 58, - "character": 12 - } - ], - "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": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 182, - "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": 174, - "name": "functionsUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 54, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 184, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 61, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 185, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 186, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 187, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 175, - "name": "realtime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 55, - "character": 12 - } - ], - "type": { - "type": "reference", - "id": 1048, - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - }, - { - "id": 171, - "name": "realtimeUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 51, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 176, - "name": "rest", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 56, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 164, - "name": "Database" - }, - { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 164, - "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": 177, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 57, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 173, - "name": "storageUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 53, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 189, - "name": "supabaseKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 188, - "name": "supabaseUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 190, - "name": "functions", - "kind": 262144, - "kindString": "Accessor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 132, - "character": 6 - } - ], - "getSignature": [ - { - "id": 191, - "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": 192, - "name": "storage", - "kind": 262144, - "kindString": "Accessor", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 142, - "character": 6 - } - ], - "getSignature": [ - { - "id": 193, - "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": 225, - "name": "_getAccessToken", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 225, - "character": 16 - } - ], - "signatures": [ - { - "id": 226, - "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": 247, - "name": "_handleTokenChanged", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 274, - "character": 10 - } - ], - "signatures": [ - { - "id": 248, - "name": "_handleTokenChanged", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 249, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 720, - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/gotrue-js", - "name": "AuthChangeEvent" - } - }, - { - "id": 250, - "name": "token", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 251, - "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": 236, - "name": "_initRealtimeClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 260, - "character": 10 - } - ], - "signatures": [ - { - "id": 237, - "name": "_initRealtimeClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 238, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 1150, - "qualifiedName": "Options", - "package": "@supabase/realtime-js", - "name": "Options" - } - } - ], - "type": { - "type": "reference", - "id": 1048, - "qualifiedName": "RealtimeClient", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 227, - "name": "_initSupabaseAuthClient", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 231, - "character": 10 - } - ], - "signatures": [ - { - "id": 228, - "name": "_initSupabaseAuthClient", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 229, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 60, - "name": "SupabaseAuthClientOptions" - } - }, - { - "id": 230, - "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": 231, - "name": "fetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 232, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 233, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 234, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 235, - "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": 239, - "name": "_listenForAuthEvents", - "kind": 2048, - "kindString": "Method", - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 267, - "character": 10 - } - ], - "signatures": [ - { - "id": 240, - "name": "_listenForAuthEvents", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 241, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 243, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 184, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 242, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 183, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 776, - "qualifiedName": "Subscription", - "package": "@supabase/gotrue-js", - "name": "Subscription" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 243, - 242 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 246, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 187, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 245, - "name": "subscription", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 186, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 246, - 245 - ] - } - ] - } - } - ] - } - } - ] - }, - { - "id": 211, - "name": "channel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 197, - "character": 2 - } - ], - "signatures": [ - { - "id": 212, - "name": "channel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." - }, - "parameters": [ - { - "id": 213, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The name of the Realtime channel." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 214, - "name": "opts", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The options to pass to the Realtime channel.\n\n" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 215, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 216, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 217, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - ] - }, - { - "id": 194, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 151, - "character": 2 - } - ], - "signatures": [ - { - "id": 195, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "id": 196, - "name": "TableName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 197, - "name": "Table", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 98, - "name": "GenericTable" - } - } - ], - "parameters": [ - { - "id": 198, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The table name to operate on.\n" - }, - "type": { - "type": "reference", - "id": 196, - "name": "TableName" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 197, - "name": "Table" - } - ], - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - }, - { - "id": 199, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 200, - "name": "table", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "PostgrestQueryBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - } - ] - }, - { - "id": 218, - "name": "getChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 204, - "character": 2 - } - ], - "signatures": [ - { - "id": 219, - "name": "getChannels", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Returns all Realtime channels." - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 1167, - "qualifiedName": "RealtimeChannel", - "package": "@supabase/realtime-js", - "name": "default" - } - } - } - ] - }, - { - "id": 223, - "name": "removeAllChannels", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 221, - "character": 2 - } - ], - "signatures": [ - { - "id": 224, - "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": 220, - "name": "removeChannel", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 214, - "character": 2 - } - ], - "signatures": [ - { - "id": 221, - "name": "removeChannel", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Unsubscribes and removes Realtime channel from Realtime client." - }, - "parameters": [ - { - "id": 222, - "name": "channel", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The name of the Realtime channel.\n\n" - }, - "type": { - "type": "reference", - "id": 1167, - "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": 201, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 169, - "character": 2 - } - ], - "signatures": [ - { - "id": 202, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Perform a function call." - }, - "typeParameter": [ - { - "id": 203, - "name": "FunctionName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 204, - "name": "Function_", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 103, - "name": "GenericFunction" - } - } - ], - "parameters": [ - { - "id": 205, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The function name to call." - }, - "type": { - "type": "reference", - "id": 203, - "name": "FunctionName" - } - }, - { - "id": 206, - "name": "args", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Args" - }, - "objectType": { - "type": "reference", - "id": 204, - "name": "Function_" - } - }, - "defaultValue": "{}" - }, - { - "id": 207, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 208, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 210, - "name": "count", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 177, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "exact" - }, - { - "type": "literal", - "value": "planned" - }, - { - "type": "literal", - "value": "estimated" - } - ] - } - }, - { - "id": 209, - "name": "head", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 176, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 210, - 209 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "Returns" - }, - "objectType": { - "type": "reference", - "id": 204, - "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": 204, - "name": "Function_" - } - } - ], - "qualifiedName": "PostgrestFilterBuilder", - "package": "@supabase/postgrest-js", - "name": "default" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [ - 162 - ] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 170, - 172, - 183, - 178, - 174, - 184, - 175, - 171, - 176, - 177, - 173, - 189, - 188 - ] - }, - { - "title": "Accessors", - "kind": 262144, - "children": [ - 190, - 192 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 225, - 247, - 236, - 227, - 239, - 211, - 194, - 218, - 223, - 220, - 201 - ] - } - ], - "sources": [ - { - "fileName": "src/SupabaseClient.ts", - "line": 37, - "character": 21 - } - ], - "typeParameter": [ - { - "id": 252, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 253, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 164, - "name": "Database" - } - } - ] - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 164, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 164, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 254, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 107, - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 164, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "id": 107, - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 165, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 164, - "name": "Database" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ] - }, - { - "id": 766, - "name": "AdminUserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 768, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for app_metadata that.", - "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 126, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 775, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 103, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 765, - "name": "UserAttributes.data" - } - }, - { - "id": 771, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 87, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 761, - "name": "UserAttributes.email" - } - }, - { - "id": 774, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 99, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 764, - "name": "UserAttributes.email_change_token" - } - }, - { - "id": 769, - "name": "email_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Sets if a user has confirmed their email address.", - "text": "Only a service role can modify.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 132, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 773, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 95, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 763, - "name": "UserAttributes.password" - } - }, - { - "id": 772, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 91, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 762, - "name": "UserAttributes.phone" - } - }, - { - "id": 770, - "name": "phone_confirm", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "Sets if a user has confirmed their phone number.", - "text": "Only a service role can modify.\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 138, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 767, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for user_metadata.", - "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 117, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 105, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 760, - "qualifiedName": "UserAttributes", - "package": "@supabase/gotrue-js", - "name": "UserAttributes" - } - ] - }, - { - "id": 141, - "name": "AuthSession", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 143, - "name": "access_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 145, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 40, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 144, - "name": "expires_in", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 142, - "name": "provider_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 31, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 146, - "name": "refresh_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 41, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 147, - "name": "token_type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 42, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 148, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 143, - 145, - 144, - 142, - 146, - 147, - 148 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 30, - "character": 17 - } - ] - }, - { - "id": 113, - "name": "AuthUser", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 130, - "name": "action_link", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 71, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 115, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 58, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 116, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 117, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 59, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 117 - ] - } - ], - "indexSignature": { - "id": 118, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 119, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 124, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 65, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 125, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 66, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 75, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 133, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 74, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 131, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 72, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 68, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 135, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 76, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 114, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 57, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 140, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 81, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 748, - "qualifiedName": "UserIdentity", - "package": "@supabase/gotrue-js", - "name": "UserIdentity" - } - } - }, - { - "id": 129, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 70, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 137, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 78, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 128, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 69, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 132, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 73, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 136, - "name": "phone_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 77, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "recovery_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 67, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 138, - "name": "role", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 79, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 139, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 80, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 120, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 121, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 122, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 123, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 130, - 115, - 124, - 125, - 134, - 133, - 131, - 127, - 135, - 114, - 140, - 129, - 137, - 128, - 132, - 136, - 126, - 138, - 139, - 120 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 56, - "character": 17 - } - ] - }, - { - "id": 784, - "name": "CookieOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 787, - "name": "domain", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The cookie domain this should run on. Leave it blank to restrict it to your domain." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 160, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 786, - "name": "lifetime", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The cookie lifetime (expiration) in seconds. Set to 8 hours by default." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 158, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 785, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The Cookie name prefix. Defaults to `sb` meaning the cookies will be `sb-access-token` and `sb-refresh-token`." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 156, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 788, - "name": "path", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 161, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 789, - "name": "sameSite", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "SameSite configuration for the session cookie. Defaults to 'lax', but can be changed to 'strict' or 'none'. Set it to false if you want to disable the SameSite setting." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 163, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 787, - 786, - 785, - 788, - 789 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 154, - "character": 17 - } - ] - }, - { - "id": 843, - "name": "OpenIDConnectCredentials", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 847, - "name": "client_id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 229, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 844, - "name": "id_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 226, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 848, - "name": "issuer", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 230, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 845, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 227, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 846, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 228, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 847, - 844, - 848, - 845, - 846 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 225, - "character": 17 - } - ] - }, - { - "id": 823, - "name": "SignInWithOAuthOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 826, - "name": "queryParams", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 206, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 827, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 828, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 829, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 824, - "name": "redirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 204, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 825, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 826, - 824, - 825 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 203, - "character": 17 - } - ] - }, - { - "id": 806, - "name": "SignInWithPasswordOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 807, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 184, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 807 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 183, - "character": 17 - } - ] - }, - { - "id": 815, - "name": "SignInWithPasswordlessOptions", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 818, - "name": "captchaToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 197, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 816, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 195, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 817, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 196, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 818, - 816, - 817 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 193, - "character": 17 - } - ] - }, - { - "id": 776, - "name": "Subscription", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 777, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The subscriber UUID. This will be set by the client." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 144, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 778, - "name": "callback", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 148, - "character": 4 - } - ], - "signatures": [ - { - "id": 779, - "name": "callback", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "The function to call every time there is an event. eg: (eventName) => {}" - }, - "parameters": [ - { - "id": 780, - "name": "event", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "reference", - "id": 720, - "qualifiedName": "AuthChangeEvent", - "package": "@supabase/gotrue-js", - "name": "AuthChangeEvent" - } - }, - { - "id": 781, - "name": "session", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 782, - "name": "unsubscribe", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 152, - "character": 4 - } - ], - "signatures": [ - { - "id": 783, - "name": "unsubscribe", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Call this to remove the listener." - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 777 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 778, - 782 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 140, - "character": 17 - } - ] - }, - { - "id": 760, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 765, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 103, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 761, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 87, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "email_change_token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "An email change token." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 99, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 763, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 95, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The user's phone." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 91, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 83, - "character": 17 - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 766, - "name": "AdminUserAttributes" - } - ] - }, - { - "id": 790, - "name": "UserCredentials", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 791, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 166, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 796, - "name": "oidc", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 172, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 843, - "qualifiedName": "OpenIDConnectCredentials", - "package": "@supabase/gotrue-js", - "name": "OpenIDConnectCredentials" - } - }, - { - "id": 793, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 168, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 792, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 167, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 795, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "comment": { - "shortText": "The name of the provider." - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 171, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - }, - { - "id": 794, - "name": "refreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 169, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 791, - 796, - 793, - 792, - 795, - 794 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 165, - "character": 17 - } - ] - }, - { - "id": 748, - "name": "UserIdentity", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 756, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 46, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 751, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 48, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 752, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "indexSignature": { - "id": 753, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 754, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 757, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 53, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 758, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 750, - "name": "user_id", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 47, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 756, - 749, - 751, - 757, - 755, - 758, - 750 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 45, - "character": 17 - } - ] - }, - { - "id": 836, - "name": "VerifyEmailOTPParams", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 837, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 218, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 838, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 219, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 839, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 220, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 840, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 221, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 842, - "qualifiedName": "EmailOTPType", - "package": "@supabase/gotrue-js", - "name": "EmailOTPType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 837, - 838, - 839, - 840 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 217, - "character": 17 - } - ] - }, - { - "id": 831, - "name": "VerifyMobileOTPParams", - "kind": 256, - "kindString": "Interface", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 832, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 212, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 833, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 213, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 834, - "name": "token", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 214, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 835, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 215, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 841, - "qualifiedName": "MobileOTPType", - "package": "@supabase/gotrue-js", - "name": "MobileOTPType" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 832, - 833, - 834, - 835 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 211, - "character": 17 - } - ] - }, - { - "id": 720, - "name": "AuthChangeEvent", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 3, - "character": 20 - } - ], - "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" - } - ] - } - }, - { - "id": 721, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 4, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 722, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 723, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 5, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 724, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 726, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 7, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 725, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 6, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 113, - "qualifiedName": "User", - "package": "@supabase/gotrue-js", - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 726, - 725 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 5, - "character": 10 - } - ] - } - } - }, - { - "id": 727, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 9, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 723, - 727 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 4, - "character": 35 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 728, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 729, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 730, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 732, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 13, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 731, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 12, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 732, - 731 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 11, - "character": 10 - } - ] - } - } - }, - { - "id": 733, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 729, - 733 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 10, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 850, - "name": "CallRefreshTokenResult", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 238, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 851, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 853, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 240, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 852, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 239, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 141, - "qualifiedName": "Session", - "package": "@supabase/gotrue-js", - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 853, - 852 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 238, - "character": 45 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 854, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 856, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 243, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - }, - { - "id": 855, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 242, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 856, - 855 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 241, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 842, - "name": "EmailOTPType", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 224, - "character": 20 - } - ], - "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": 841, - "name": "MobileOTPType", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 223, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "sms" - }, - { - "type": "literal", - "value": "phone_change" - } - ] - } - }, - { - "id": 734, - "name": "OAuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 17, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 735, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 736, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 18, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 737, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 738, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 19, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - }, - { - "id": 739, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 20, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 738, - 739 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 18, - "character": 10 - } - ] - } - } - }, - { - "id": 740, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 736, - 740 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 17, - "character": 36 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 741, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 742, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 24, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 743, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 744, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 25, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - }, - { - "id": 745, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 26, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 744, - 745 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 24, - "character": 10 - } - ] - } - } - }, - { - "id": 746, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 742, - 746 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 23, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 155, - "name": "PostgrestError", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "comment": { - "shortText": "Error format", - "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 7, - "character": 20 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 160, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 158, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 9, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 159, - "name": "hint", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 10, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 157, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 8, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 160, - 158, - 159, - 157 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 7, - "character": 37 - } - ] - } - } - }, - { - "id": 153, - "name": "PostgrestMaybeSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 39, - "character": 20 - } - ], - "typeParameter": [ - { - "id": 154, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExternal": true - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 154, - "qualifiedName": "T", - "package": "@supabase/postgrest-js", - "name": "T" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "qualifiedName": "PostgrestSingleResponse", - "package": "@supabase/postgrest-js", - "name": "PostgrestSingleResponse" - } - }, - { - "id": 149, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 32, - "character": 20 - } - ], - "typeParameter": [ - { - "id": 150, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExternal": true - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 150, - "qualifiedName": "T", - "package": "@supabase/postgrest-js", - "name": "T" - } - ], - "qualifiedName": "PostgrestResponseSuccess", - "package": "@supabase/postgrest-js", - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "qualifiedName": "PostgrestResponseFailure", - "package": "@supabase/postgrest-js", - "name": "PostgrestResponseFailure" - } - ] - } - }, - { - "id": 151, - "name": "PostgrestSingleResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", - "line": 38, - "character": 20 - } - ], - "typeParameter": [ - { - "id": 152, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExternal": true - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 152, - "qualifiedName": "T", - "package": "@supabase/postgrest-js", - "name": "T" - } - ], - "qualifiedName": "PostgrestSingleResponseSuccess", - "package": "@supabase/postgrest-js", - "name": "PostgrestSingleResponseSuccess" - }, - { - "type": "reference", - "qualifiedName": "PostgrestResponseFailure", - "package": "@supabase/postgrest-js", - "name": "PostgrestResponseFailure" - } - ] - } - }, - { - "id": 719, - "name": "Provider", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 2, - "character": 20 - } - ], - "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": 1150, - "name": "RealtimeClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 5, - "character": 20 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1151, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 1157, - "name": "decode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1156, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 10, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1159, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1160, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 13, - "character": 14 - } - ], - "indexSignature": { - "id": 1161, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1162, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 1154, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 8, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1155, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 9, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1163, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 16, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 16, - "character": 13 - } - ], - "indexSignature": { - "id": 1165, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 1166, - "name": "key", - "kind": 32768, - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 1158, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 1153, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 7, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1152, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 6, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "WebSocket", - "package": "typescript", - "name": "WebSocket" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", - "line": 5, - "character": 30 - } - ] - } - } - }, - { - "id": 819, - "name": "SignInWithOAuthCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 199, - "character": 20 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 820, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 822, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 201, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 823, - "qualifiedName": "SignInWithOAuthOptions", - "package": "@supabase/gotrue-js", - "name": "SignInWithOAuthOptions" - } - }, - { - "id": 821, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 200, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 719, - "qualifiedName": "Provider", - "package": "@supabase/gotrue-js", - "name": "Provider" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 822, - 821 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 199, - "character": 49 - } - ] - } - } - }, - { - "id": 797, - "name": "SignInWithPasswordCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 174, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 798, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 799, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 175, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 801, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 177, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 806, - "qualifiedName": "SignInWithPasswordOptions", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordOptions" - } - }, - { - "id": 800, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 176, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 799, - 801, - 800 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 174, - "character": 52 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 802, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 805, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 181, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 806, - "qualifiedName": "SignInWithPasswordOptions", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordOptions" - } - }, - { - "id": 804, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 180, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 803, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 179, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 805, - 804, - 803 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 178, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 808, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 186, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 809, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 810, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 187, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 811, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 188, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 815, - "qualifiedName": "SignInWithPasswordlessOptions", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordlessOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 810, - 811 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 186, - "character": 56 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 812, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExternal": true - }, - "children": [ - { - "id": 814, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 191, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 815, - "qualifiedName": "SignInWithPasswordlessOptions", - "package": "@supabase/gotrue-js", - "name": "SignInWithPasswordlessOptions" - } - }, - { - "id": 813, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 190, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 814, - 813 - ] - } - ], - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 189, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 849, - "name": "SupportedStorage", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 237, - "character": 20 - } - ], - "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" - } - ], - "qualifiedName": "PromisifyMethods", - "package": "@supabase/gotrue-js", - "name": "PromisifyMethods" - } - }, - { - "id": 830, - "name": "VerifyOTPParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", - "line": 210, - "character": 20 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 831, - "qualifiedName": "VerifyMobileOTPParams", - "package": "@supabase/gotrue-js", - "name": "VerifyMobileOTPParams" - }, - { - "type": "reference", - "id": 836, - "qualifiedName": "VerifyEmailOTPParams", - "package": "@supabase/gotrue-js", - "name": "VerifyEmailOTPParams" - } - ] - } - }, - { - "id": 2, - "name": "createClient", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/index.ts", - "line": 19, - "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": 107, - "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": 107, - "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": 79, - "typeArguments": [ - { - "type": "reference", - "id": 5, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 161, - "typeArguments": [ - { - "type": "reference", - "id": 4, - "name": "Database" - }, - { - "type": "reference", - "id": 5, - "name": "SchemaName" - }, - { - "type": "reference", - "id": 6, - "name": "Schema" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 857, - "name": "isAuthError", - "kind": 64, - "kindString": "Function", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", - "line": 5, - "character": 24 - } - ], - "signatures": [ - { - "id": 858, - "name": "isAuthError", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExternal": true - }, - "parameters": [ - { - "id": 859, - "name": "error", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExternal": true - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "predicate", - "name": "error", - "asserts": false, - "targetType": { - "type": "reference", - "id": 860, - "qualifiedName": "AuthError", - "package": "@supabase/gotrue-js", - "name": "AuthError" - } - } - } - ] - } - ], - "groups": [ - { - "title": "References", - "kind": 16777216, - "children": [ - 747, - 255, - 759 - ] - }, - { - "title": "Namespaces", - "kind": 4, - "children": [ - 1360 - ] - }, - { - "title": "Classes", - "kind": 128, - "children": [ - 878, - 860, - 951, - 1023, - 999, - 975, - 904, - 924, - 256, - 580, - 1167, - 1048, - 1309, - 161 - ] - }, - { - "title": "Interfaces", - "kind": 256, - "children": [ - 766, - 141, - 113, - 784, - 843, - 823, - 806, - 815, - 776, - 760, - 790, - 748, - 836, - 831 - ] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 720, - 721, - 850, - 842, - 841, - 734, - 155, - 153, - 149, - 151, - 719, - 1150, - 819, - 797, - 808, - 849, - 830 - ] - }, - { - "title": "Functions", - "kind": 64, - "children": [ - 2, - 857 - ] - } - ], - "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": 30, - "name": "fetchWithAuth", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 25, - "character": 13 - } - ], - "signatures": [ - { - "id": 31, - "name": "fetchWithAuth", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 32, - "name": "supabaseKey", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 33, - "name": "getAccessToken", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 35, - "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": 36, - "name": "customFetch", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 37, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 38, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 39, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 40, - "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": 41, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 42, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 43, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 44, - "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": {}, - "children": [ - { - "id": 29, - "name": "prototype", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true - }, - "sources": [ - { - "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 8291, - "character": 4 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Headers", - "package": "typescript", - "name": "Headers" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 29 - ] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "kind": 64, - "children": [ - 30, - 15, - 26 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/fetch.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 45, - "name": "lib/helpers", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 51, - "name": "applySettingDefaults", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 18, - "character": 16 - } - ], - "signatures": [ - { - "id": 52, - "name": "applySettingDefaults", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 53, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 54, - "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": 53, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 53, - "name": "Database" - } - } - ] - } - } - } - ], - "parameters": [ - { - "id": 55, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 79, - "typeArguments": [ - { - "type": "reference", - "id": 54, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - }, - { - "id": 56, - "name": "defaults", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 79, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "SupabaseClientOptions" - } - } - ], - "type": { - "type": "reference", - "id": 79, - "typeArguments": [ - { - "type": "reference", - "id": 54, - "name": "SchemaName" - } - ], - "name": "SupabaseClientOptions" - } - } - ] - }, - { - "id": 57, - "name": "isBrowser", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 16, - "character": 13 - } - ], - "signatures": [ - { - "id": 58, - "name": "isBrowser", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 48, - "name": "stripTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 49, - "name": "stripTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 50, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "id": 46, - "name": "uuid", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 4, - "character": 16 - } - ], - "signatures": [ - { - "id": 47, - "name": "uuid", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "kind": 64, - "children": [ - 51, - 57, - 48, - 46 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 2, - "character": 0 - } - ] - }, - { - "id": 59, - "name": "lib/types", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 60, - "name": "SupabaseAuthClientOptions", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 68, - "name": "autoRefreshToken", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 48, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.autoRefreshToken" - } - }, - { - "id": 72, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 784, - "qualifiedName": "CookieOptions", - "package": "@supabase/gotrue-js", - "name": "CookieOptions" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.cookieOptions" - } - }, - { - "id": 67, - "name": "detectSessionInUrl", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 47, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.detectSessionInUrl" - } - }, - { - "id": 73, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 74, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 75, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 76, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - } - }, - { - "id": 77, - "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" - } - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.fetch" - } - }, - { - "id": 62, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 43, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 63, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 64, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 65, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.headers" - } - }, - { - "id": 71, - "name": "multiTab", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 51, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.multiTab" - } - }, - { - "id": 69, - "name": "persistSession", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 49, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.persistSession" - } - }, - { - "id": 70, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 50, - "character": 8 - } - ], - "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" - } - ], - "qualifiedName": "PromisifyMethods", - "package": "@supabase/gotrue-js", - "name": "PromisifyMethods" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.storage" - } - }, - { - "id": 66, - "name": "storageKey", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 46, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.storageKey" - } - }, - { - "id": 61, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExternal": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", - "line": 42, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "name": "GoTrueClientOptions.url" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 68, - 72, - 67, - 73, - 62, - 71, - 69, - 70, - 66, - 61 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 6, - "character": 17 - } - ], - "extendedTypes": [ - { - "type": "reference", - "name": "GoTrueClientOptions" - } - ] - }, - { - "id": 78, - "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": 103, - "name": "GenericFunction", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 104, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 105, - "name": "Args", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 67, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 106, - "name": "Returns", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 68, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 105, - 106 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 66, - "character": 30 - } - ] - } - } - }, - { - "id": 107, - "name": "GenericSchema", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 71, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 108, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 110, - "name": "Functions", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 73, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 103, - "name": "GenericFunction" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 109, - "name": "Tables", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 72, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "id": 98, - "name": "GenericTable" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 110, - 109 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 71, - "character": 28 - } - ] - } - } - }, - { - "id": 98, - "name": "GenericTable", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 99, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 101, - "name": "Insert", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 62, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 100, - "name": "Row", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 61, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 102, - "name": "Update", - "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" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 101, - 100, - 102 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 60, - "character": 27 - } - ] - } - } - }, - { - "id": 79, - "name": "SupabaseClientOptions", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 97, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 80, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 84, - "name": "auth", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 85, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 86, - "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": 91, - "name": "cookieOptions", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Options passed to the gotrue-js instance" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 42, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "cookieOptions" - }, - "objectType": { - "type": "reference", - "id": 60, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 89, - "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": 88, - "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": 90, - "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": 60, - "name": "SupabaseAuthClientOptions" - } - } - }, - { - "id": 87, - "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": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 9 - } - ] - } - } - }, - { - "id": 81, - "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": 82, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 83, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 97, - "name": "SchemaName" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 83 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 14, - "character": 7 - } - ] - } - } - }, - { - "id": 93, - "name": "global", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 94, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 95, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A custom `fetch` implementation." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 78, - "name": "Fetch" - } - }, - { - "id": 96, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional headers for initializing the client." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "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": [ - 95, - 96 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 48, - "character": 11 - } - ] - } - } - }, - { - "id": 92, - "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": 47, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 1150, - "qualifiedName": "Options", - "package": "@supabase/realtime-js", - "name": "RealtimeClientOptions" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 10, - "character": 48 - } - ] - } - } - } - ], - "groups": [ - { - "title": "Interfaces", - "kind": 256, - "children": [ - 60 - ] - }, - { - "title": "Type Aliases", - "kind": 4194304, - "children": [ - 78, - 103, - 107, - 98, - 79 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 111, - "name": "lib/version", - "kind": 2, - "kindString": "Module", - "flags": {}, - "children": [ - { - "id": 112, - "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": [ - 112 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/version.ts", - "line": 1, - "character": 0 - } - ] - } - ], - "groups": [ - { - "title": "Modules", - "kind": 2, - "children": [ - 1, - 10, - 14, - 45, - 59, - 111 - ] - } - ] -} \ No newline at end of file + "id": 0, + "name": "@supabase/supabase-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 747, + "name": "Session", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 141 + }, + { + "id": 255, + "name": "SupabaseClientOptions", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 14, + "character": 14 + } + ], + "target": 79 + }, + { + "id": 759, + "name": "User", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 113 + }, + { + "id": 1360, + "name": "Transformers", + "kind": 4, + "kindString": "Namespace", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1361, + "name": "PostgresTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Helpers to convert the change Payload into native JS types." + }, + "children": [ + { + "id": 1362, + "name": "abstime", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 5, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "abstime" + }, + "defaultValue": "\"abstime\"" + }, + { + "id": 1363, + "name": "bool", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "bool" + }, + "defaultValue": "\"bool\"" + }, + { + "id": 1364, + "name": "date", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "date" + }, + "defaultValue": "\"date\"" + }, + { + "id": 1365, + "name": "daterange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 8, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "daterange" + }, + "defaultValue": "\"daterange\"" + }, + { + "id": 1366, + "name": "float4", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "float4" + }, + "defaultValue": "\"float4\"" + }, + { + "id": 1367, + "name": "float8", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "float8" + }, + "defaultValue": "\"float8\"" + }, + { + "id": 1368, + "name": "int2", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "int2" + }, + "defaultValue": "\"int2\"" + }, + { + "id": 1369, + "name": "int4", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "int4" + }, + "defaultValue": "\"int4\"" + }, + { + "id": 1370, + "name": "int4range", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "int4range" + }, + "defaultValue": "\"int4range\"" + }, + { + "id": 1371, + "name": "int8", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 14, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "int8" + }, + "defaultValue": "\"int8\"" + }, + { + "id": 1372, + "name": "int8range", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "int8range" + }, + "defaultValue": "\"int8range\"" + }, + { + "id": 1373, + "name": "json", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "json" + }, + "defaultValue": "\"json\"" + }, + { + "id": 1374, + "name": "jsonb", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "jsonb" + }, + "defaultValue": "\"jsonb\"" + }, + { + "id": 1375, + "name": "money", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 18, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "money" + }, + "defaultValue": "\"money\"" + }, + { + "id": 1376, + "name": "numeric", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 19, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "numeric" + }, + "defaultValue": "\"numeric\"" + }, + { + "id": 1377, + "name": "oid", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "oid" + }, + "defaultValue": "\"oid\"" + }, + { + "id": 1378, + "name": "reltime", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "reltime" + }, + "defaultValue": "\"reltime\"" + }, + { + "id": 1379, + "name": "text", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "text" + }, + "defaultValue": "\"text\"" + }, + { + "id": 1380, + "name": "time", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 23, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "time" + }, + "defaultValue": "\"time\"" + }, + { + "id": 1381, + "name": "timestamp", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "timestamp" + }, + "defaultValue": "\"timestamp\"" + }, + { + "id": 1382, + "name": "timestamptz", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "timestamptz" + }, + "defaultValue": "\"timestamptz\"" + }, + { + "id": 1383, + "name": "timetz", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "timetz" + }, + "defaultValue": "\"timetz\"" + }, + { + "id": 1384, + "name": "tsrange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 27, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "tsrange" + }, + "defaultValue": "\"tsrange\"" + }, + { + "id": 1385, + "name": "tstzrange", + "kind": 16, + "kindString": "Enumeration Member", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "tstzrange" + }, + "defaultValue": "\"tstzrange\"" + } + ], + "groups": [ + { + "title": "Enumeration Members", + "kind": 16, + "children": [ + 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, + 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 4, + "character": 20 + } + ] + }, + { + "id": 1399, + "name": "convertCell", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 84, + "character": 21 + } + ], + "signatures": [ + { + "id": 1400, + "name": "convertCell", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "If the value of the cell is `null`, returns null.\nOtherwise converts the string value to the correct type.", + "tags": [ + { + "tag": "example", + "text": "convertCell('bool', 't')\n//=> true" + }, + { + "tag": "example", + "text": "convertCell('int8', '10')\n//=> 10" + }, + { + "tag": "example", + "text": "convertCell('_int4', '{1,2,3,4}')\n//=> [1,2,3,4]\n" + } + ] + }, + "parameters": [ + { + "id": 1401, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A postgres column type" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1402, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1386, + "name": "convertChangeData", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 53, + "character": 21 + } + ], + "signatures": [ + { + "id": 1387, + "name": "convertChangeData", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Takes an array of columns and an object of string values then converts each string value\nto its mapped type.", + "tags": [ + { + "tag": "example", + "text": "convertChangeData([{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age:'33'}, {})\n//=>{ first_name: 'Paul', age: 33 }\n" + } + ] + }, + "parameters": [ + { + "id": 1388, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Columns", + "package": "@supabase/realtime-js", + "name": "Columns" + } + }, + { + "id": 1389, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": {}, + "type": { + "type": "reference", + "qualifiedName": "Record", + "package": "@supabase/realtime-js", + "name": "Record" + } + }, + { + "id": 1390, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The map of various options that can be applied to the mapper" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1391, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1392, + "name": "skipTypes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The array of types that should not be converted\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1392] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "Record", + "package": "@supabase/realtime-js", + "name": "Record" + } + } + ] + }, + { + "id": 1393, + "name": "convertColumn", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 70, + "character": 21 + } + ], + "signatures": [ + { + "id": 1394, + "name": "convertColumn", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Converts the value of an individual column.", + "returns": "Useless information\n", + "tags": [ + { + "tag": "example", + "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, [])\n//=> 33" + }, + { + "tag": "example", + "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], {first_name: 'Paul', age: '33'}, ['int4'])\n//=> \"33\"\n" + } + ] + }, + "parameters": [ + { + "id": 1395, + "name": "columnName", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The column that you want to convert" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1396, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Columns", + "package": "@supabase/realtime-js", + "name": "Columns" + } + }, + { + "id": 1397, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The map of string values" + }, + "type": { + "type": "reference", + "qualifiedName": "Record", + "package": "@supabase/realtime-js", + "name": "Record" + } + }, + { + "id": 1398, + "name": "skipTypes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "An array of types that should not be converted" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1412, + "name": "toArray", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 98, + "character": 21 + } + ], + "signatures": [ + { + "id": 1413, + "name": "toArray", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Converts a Postgres Array into a native JS array", + "tags": [ + { + "tag": "example", + "text": "toArray('{}', 'int4')\n//=> []" + }, + { + "tag": "example", + "text": "toArray('{\"[2021-01-01,2021-12-31)\",\"(2021-01-01,2021-12-32]\"}', 'daterange')\n//=> ['[2021-01-01,2021-12-31)', '(2021-01-01,2021-12-32]']" + }, + { + "tag": "example", + "text": "toArray([1,2,3,4], 'int4')\n//=> [1,2,3,4]\n" + } + ] + }, + "parameters": [ + { + "id": 1414, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + }, + { + "id": 1415, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1403, + "name": "toBoolean", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 85, + "character": 21 + } + ], + "signatures": [ + { + "id": 1404, + "name": "toBoolean", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1405, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1409, + "name": "toJson", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 87, + "character": 21 + } + ], + "signatures": [ + { + "id": 1410, + "name": "toJson", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1411, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1406, + "name": "toNumber", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 86, + "character": 21 + } + ], + "signatures": [ + { + "id": 1407, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1408, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + }, + { + "id": 1416, + "name": "toTimestampString", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 106, + "character": 21 + } + ], + "signatures": [ + { + "id": 1417, + "name": "toTimestampString", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T'\nSee https://github.com/supabase/supabase/issues/18", + "tags": [ + { + "tag": "example", + "text": "toTimestampString('2019-09-10 00:00:00')\n//=> '2019-09-10T00:00:00'\n" + } + ] + }, + "parameters": [ + { + "id": 1418, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + } + ] + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [1361] + }, + { + "title": "Functions", + "kind": 64, + "children": [1399, 1386, 1393, 1412, 1403, 1409, 1406, 1416] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 878, + "name": "AuthApiError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 889, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 8, + "character": 4 + } + ], + "signatures": [ + { + "id": 890, + "name": "new AuthApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 891, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 892, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 878, + "qualifiedName": "AuthApiError", + "package": "@supabase/gotrue-js", + "name": "AuthApiError" + }, + "overwrites": { + "type": "reference", + "id": 872, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 871, + "name": "AuthError.constructor" + } + }, + { + "id": 900, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 874, + "name": "AuthError.__isAuthError" + } + }, + { + "id": 902, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 876, + "name": "AuthError.message" + } + }, + { + "id": 901, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1022, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 875, + "name": "AuthError.name" + } + }, + { + "id": 903, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 877, + "name": "AuthError.stack" + } + }, + { + "id": 893, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 883, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 884, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 885, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 886, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 887, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 865, + "name": "AuthError.prepareStackTrace" + } + }, + { + "id": 888, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 870, + "name": "AuthError.stackTraceLimit" + } + }, + { + "id": 894, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 9, + "character": 4 + } + ], + "signatures": [ + { + "id": 895, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 896, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 898, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 11, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 897, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 10, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 899, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 12, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [898, 897, 899] + } + ] + } + } + } + ] + }, + { + "id": 879, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 880, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 881, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 882, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 862, + "name": "AuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 861, + "name": "AuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [889] + }, + { + "title": "Properties", + "kind": 1024, + "children": [900, 902, 901, 903, 893, 883, 888] + }, + { + "title": "Methods", + "kind": 2048, + "children": [894, 879] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 6, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + }, + { + "id": 860, + "name": "AuthError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 871, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 3, + "character": 4 + } + ], + "signatures": [ + { + "id": 872, + "name": "new AuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 873, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + }, + { + "id": 874, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 876, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.message" + } + }, + { + "id": 875, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1022, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.name" + } + }, + { + "id": 877, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.stack" + } + }, + { + "id": 865, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 866, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 867, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 868, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 869, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.prepareStackTrace" + } + }, + { + "id": 870, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.stackTraceLimit" + } + }, + { + "id": 861, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 862, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 863, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 864, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "name": "Error.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "name": "Error.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [871] + }, + { + "title": "Properties", + "kind": 1024, + "children": [874, 876, 875, 877, 865, 870] + }, + { + "title": "Methods", + "kind": 2048, + "children": [861] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 1, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 878, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 904, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 924, + "name": "CustomAuthError" + } + ] + }, + { + "id": 951, + "name": "AuthEventMissingError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 962, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 30, + "character": 4 + } + ], + "signatures": [ + { + "id": 963, + "name": "new AuthEventMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 951, + "qualifiedName": "AuthEventMissingError", + "package": "@supabase/gotrue-js", + "name": "AuthEventMissingError" + }, + "overwrites": { + "type": "reference", + "id": 936, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 935, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 972, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 948, + "name": "CustomAuthError.__isAuthError" + } + }, + { + "id": 973, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 949, + "name": "CustomAuthError.message" + } + }, + { + "id": 964, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 940, + "name": "CustomAuthError.name" + } + }, + { + "id": 974, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 950, + "name": "CustomAuthError.stack" + } + }, + { + "id": 965, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 941, + "name": "CustomAuthError.status" + } + }, + { + "id": 956, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 957, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 958, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 959, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 960, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 929, + "name": "CustomAuthError.prepareStackTrace" + } + }, + { + "id": 961, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 934, + "name": "CustomAuthError.stackTraceLimit" + } + }, + { + "id": 966, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 23, + "character": 4 + } + ], + "signatures": [ + { + "id": 967, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 968, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 970, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 969, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 971, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [970, 969, 971] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 943, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 942, + "name": "CustomAuthError.toJSON" + } + }, + { + "id": 952, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 953, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 954, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 955, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 926, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 925, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [962] + }, + { + "title": "Properties", + "kind": 1024, + "children": [972, 973, 964, 974, 965, 956, 961] + }, + { + "title": "Methods", + "kind": 2048, + "children": [966, 952] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 29, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 924, + "qualifiedName": "CustomAuthError", + "package": "@supabase/gotrue-js", + "name": "CustomAuthError" + } + ] + }, + { + "id": 1023, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1034, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 39, + "character": 4 + } + ], + "signatures": [ + { + "id": 1035, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1036, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1023, + "qualifiedName": "AuthInvalidCredentialsError", + "package": "@supabase/gotrue-js", + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 936, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 935, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1045, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 948, + "name": "CustomAuthError.__isAuthError" + } + }, + { + "id": 1046, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 949, + "name": "CustomAuthError.message" + } + }, + { + "id": 1037, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 940, + "name": "CustomAuthError.name" + } + }, + { + "id": 1047, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 950, + "name": "CustomAuthError.stack" + } + }, + { + "id": 1038, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 941, + "name": "CustomAuthError.status" + } + }, + { + "id": 1028, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1029, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 1030, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 1031, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 1032, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 929, + "name": "CustomAuthError.prepareStackTrace" + } + }, + { + "id": 1033, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 934, + "name": "CustomAuthError.stackTraceLimit" + } + }, + { + "id": 1039, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 23, + "character": 4 + } + ], + "signatures": [ + { + "id": 1040, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1041, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1043, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1042, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1044, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1043, 1042, 1044] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 943, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 942, + "name": "CustomAuthError.toJSON" + } + }, + { + "id": 1024, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 1025, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 1026, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 1027, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 926, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 925, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1034] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1045, 1046, 1037, 1047, 1038, 1028, 1033] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1039, 1024] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 38, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 924, + "qualifiedName": "CustomAuthError", + "package": "@supabase/gotrue-js", + "name": "CustomAuthError" + } + ] + }, + { + "id": 999, + "name": "AuthNoCookieError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1010, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 36, + "character": 4 + } + ], + "signatures": [ + { + "id": 1011, + "name": "new AuthNoCookieError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 999, + "qualifiedName": "AuthNoCookieError", + "package": "@supabase/gotrue-js", + "name": "AuthNoCookieError" + }, + "overwrites": { + "type": "reference", + "id": 936, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 935, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1020, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 948, + "name": "CustomAuthError.__isAuthError" + } + }, + { + "id": 1021, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 949, + "name": "CustomAuthError.message" + } + }, + { + "id": 1012, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 940, + "name": "CustomAuthError.name" + } + }, + { + "id": 1022, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 950, + "name": "CustomAuthError.stack" + } + }, + { + "id": 1013, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 941, + "name": "CustomAuthError.status" + } + }, + { + "id": 1004, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1005, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 1006, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 1007, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 1008, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 929, + "name": "CustomAuthError.prepareStackTrace" + } + }, + { + "id": 1009, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 934, + "name": "CustomAuthError.stackTraceLimit" + } + }, + { + "id": 1014, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 23, + "character": 4 + } + ], + "signatures": [ + { + "id": 1015, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1016, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1018, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1017, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1019, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1018, 1017, 1019] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 943, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 942, + "name": "CustomAuthError.toJSON" + } + }, + { + "id": 1000, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 1001, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 1002, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 1003, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 926, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 925, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1010] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1020, 1021, 1012, 1022, 1013, 1004, 1009] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1014, 1000] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 35, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 924, + "qualifiedName": "CustomAuthError", + "package": "@supabase/gotrue-js", + "name": "CustomAuthError" + } + ] + }, + { + "id": 975, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 986, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 33, + "character": 4 + } + ], + "signatures": [ + { + "id": 987, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 975, + "qualifiedName": "AuthSessionMissingError", + "package": "@supabase/gotrue-js", + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 936, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 935, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 996, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 948, + "name": "CustomAuthError.__isAuthError" + } + }, + { + "id": 997, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 949, + "name": "CustomAuthError.message" + } + }, + { + "id": 988, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 940, + "name": "CustomAuthError.name" + } + }, + { + "id": 998, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 950, + "name": "CustomAuthError.stack" + } + }, + { + "id": 989, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 941, + "name": "CustomAuthError.status" + } + }, + { + "id": 980, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 981, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 982, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 983, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 984, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 929, + "name": "CustomAuthError.prepareStackTrace" + } + }, + { + "id": 985, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 934, + "name": "CustomAuthError.stackTraceLimit" + } + }, + { + "id": 990, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 23, + "character": 4 + } + ], + "signatures": [ + { + "id": 991, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 992, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 994, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 993, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 995, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [994, 993, 995] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 943, + "name": "CustomAuthError.toJSON" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 942, + "name": "CustomAuthError.toJSON" + } + }, + { + "id": 976, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 977, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 978, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 979, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 926, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 925, + "name": "CustomAuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [986] + }, + { + "title": "Properties", + "kind": 1024, + "children": [996, 997, 988, 998, 989, 980, 985] + }, + { + "title": "Methods", + "kind": 2048, + "children": [990, 976] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 32, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 924, + "qualifiedName": "CustomAuthError", + "package": "@supabase/gotrue-js", + "name": "CustomAuthError" + } + ] + }, + { + "id": 904, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 915, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 17, + "character": 4 + } + ], + "signatures": [ + { + "id": 916, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 917, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 904, + "qualifiedName": "AuthUnknownError", + "package": "@supabase/gotrue-js", + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 872, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 871, + "name": "AuthError.constructor" + } + }, + { + "id": 920, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 874, + "name": "AuthError.__isAuthError" + } + }, + { + "id": 922, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 876, + "name": "AuthError.message" + } + }, + { + "id": 921, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1022, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 875, + "name": "AuthError.name" + } + }, + { + "id": 919, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 923, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 877, + "name": "AuthError.stack" + } + }, + { + "id": 909, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 910, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 911, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 912, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 913, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 865, + "name": "AuthError.prepareStackTrace" + } + }, + { + "id": 914, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 870, + "name": "AuthError.stackTraceLimit" + } + }, + { + "id": 905, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 906, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 907, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 908, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 862, + "name": "AuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 861, + "name": "AuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [915] + }, + { + "title": "Properties", + "kind": 1024, + "children": [920, 922, 921, 919, 923, 909, 914] + }, + { + "title": "Methods", + "kind": 2048, + "children": [905] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 15, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + }, + { + "id": 924, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 935, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 22, + "character": 4 + } + ], + "signatures": [ + { + "id": 936, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 937, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 938, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 939, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 924, + "qualifiedName": "CustomAuthError", + "package": "@supabase/gotrue-js", + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 872, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 871, + "name": "AuthError.constructor" + } + }, + { + "id": 948, + "name": "__isAuthError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 2, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 874, + "name": "AuthError.__isAuthError" + } + }, + { + "id": 949, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1023, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 876, + "name": "AuthError.message" + } + }, + { + "id": 940, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 20, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "id": 875, + "name": "AuthError.name" + } + }, + { + "id": 950, + "name": "stack", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", + "line": 1024, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 877, + "name": "AuthError.stack" + } + }, + { + "id": 941, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 929, + "name": "prepareStackTrace", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 931, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Optional override for formatting stack traces", + "tags": [ + { + "tag": "see", + "text": "https://v8.dev/docs/stack-trace-api#customizing-stack-traces\n" + } + ] + }, + "parameters": [ + { + "id": 932, + "name": "err", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + }, + { + "id": 933, + "name": "stackTraces", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "NodeJS.CallSite", + "package": "@types/node", + "name": "CallSite" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 865, + "name": "AuthError.prepareStackTrace" + } + }, + { + "id": 934, + "name": "stackTraceLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@types/node/globals.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 870, + "name": "AuthError.stackTraceLimit" + } + }, + { + "id": 942, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 23, + "character": 4 + } + ], + "signatures": [ + { + "id": 943, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 944, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 946, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 945, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 24, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 947, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [946, 945, 947] + } + ] + } + } + } + ] + }, + { + "id": 925, + "name": "captureStackTrace", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "signatures": [ + { + "id": 926, + "name": "captureStackTrace", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create .stack property on a target object" + }, + "parameters": [ + { + "id": 927, + "name": "targetObject", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 928, + "name": "constructorOpt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "id": 862, + "name": "AuthError.captureStackTrace" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 861, + "name": "AuthError.captureStackTrace" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [935] + }, + { + "title": "Properties", + "kind": 1024, + "children": [948, 949, 940, 950, 941, 929, 934] + }, + { + "title": "Methods", + "kind": 2048, + "children": [942, 925] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 19, + "character": 21 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 951, + "name": "AuthEventMissingError" + }, + { + "type": "reference", + "id": 975, + "name": "AuthSessionMissingError" + }, + { + "type": "reference", + "id": 999, + "name": "AuthNoCookieError" + }, + { + "type": "reference", + "id": 1023, + "name": "AuthInvalidCredentialsError" + } + ] + }, + { + "id": 256, + "name": "GoTrueApi", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 257, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 11, + "character": 4 + } + ], + "signatures": [ + { + "id": 258, + "name": "new GoTrueApi", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 259, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 260, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 266, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 16, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 784, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 267, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 17, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 268, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 269, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 270, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 271, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "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": 262, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 13, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 263, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 264, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 265, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 261, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 12, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [266, 267, 262, 261] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 256, + "qualifiedName": "GoTrueApi", + "package": "@supabase/gotrue-js", + "name": "default" + } + } + ] + }, + { + "id": 283, + "name": "_createRequestHeaders", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "comment": { + "shortText": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods", + "tags": [ + { + "tag": "param", + "text": "A valid, logged-in JWT.\n", + "param": "jwt" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 24, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 284, + "name": "cookieName", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 277, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 9, + "character": 14 + } + ], + "type": { + "type": "reference", + "id": 784, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 278, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 10, + "character": 14 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 279, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 280, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 281, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 282, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "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": 273, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 6, + "character": 14 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 275, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 276, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 272, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 5, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 500, + "name": "createUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 298, + "character": 4 + } + ], + "signatures": [ + { + "id": 501, + "name": "createUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Creates a new user.", + "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + }, + "parameters": [ + { + "id": 502, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The data you want to create the user with.\n" + }, + "type": { + "type": "reference", + "id": 766, + "qualifiedName": "AdminUserAttributes", + "package": "@supabase/gotrue-js", + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 503, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 505, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 300, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 506, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 301, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 504, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 299, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [505, 506, 504] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 507, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 509, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 304, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 510, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 305, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 508, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 303, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [509, 510, 508] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 471, + "name": "deleteAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 259, + "character": 4 + } + ], + "signatures": [ + { + "id": 472, + "name": "deleteAuthCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Deletes the Auth Cookies and redirects to the" + }, + "parameters": [ + { + "id": 473, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 474, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The response object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 475, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 476, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 477, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 260, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [477] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 552, + "name": "deleteUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 369, + "character": 4 + } + ], + "signatures": [ + { + "id": 553, + "name": "deleteUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Delete a user. Requires a `service_role` key.", + "text": "This function should only be called on a server. Never expose your `service_role` key in the browser.\n" + }, + "parameters": [ + { + "id": 554, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The user uid you want to remove.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 557, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 371, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 556, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 370, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [557, 556] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 558, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 560, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 374, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 559, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 373, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [560, 559] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 482, + "name": "generateLink", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 277, + "character": 4 + } + ], + "signatures": [ + { + "id": 483, + "name": "generateLink", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates links to be sent via email or other." + }, + "parameters": [ + { + "id": 484, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")." + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + }, + { + "type": "literal", + "value": "invite" + } + ] + } + }, + { + "id": 485, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The user's email." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 486, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 487, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 489, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata. For signup only." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 279, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 488, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "User password. For signup only." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 278, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\").\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 280, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [489, 488, 490] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 492, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 282, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 493, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 283, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [492, 493] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 494, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 495, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 285, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 496, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 286, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [495, 496] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 497, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 498, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 288, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 499, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 289, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [498, 499] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 478, + "name": "getAuthCookieString", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 268, + "character": 4 + } + ], + "signatures": [ + { + "id": 479, + "name": "getAuthCookieString", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Helper method to generate the Auth Cookie string for you in case you can't use `setAuthCookie`.", + "returns": "The Cookie string that needs to be set as the value for the `Set-Cookie` header.\n" + }, + "parameters": [ + { + "id": 480, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 481, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The response object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ] + }, + { + "id": 285, + "name": "getUrlForProvider", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 32, + "character": 4 + } + ], + "signatures": [ + { + "id": 286, + "name": "getUrlForProvider", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates the relevant login URL for a third-party provider." + }, + "parameters": [ + { + "id": 287, + "name": "provider", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 288, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 289, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 292, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 35, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 293, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 294, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 295, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 290, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 33, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 34, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [292, 290, 291] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 561, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 385, + "character": 4 + } + ], + "signatures": [ + { + "id": 562, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Gets the current user details.", + "text": "This method is called by the GoTrueClient `update` where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user\n" + }, + "parameters": [ + { + "id": 563, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A valid, logged-in JWT. Typically, the access_token for the currentSession\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 564, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 566, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 387, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 565, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 386, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [566, 565] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 567, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 569, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 390, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 568, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 389, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [569, 568] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 528, + "name": "getUserByCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 337, + "character": 4 + } + ], + "signatures": [ + { + "id": 529, + "name": "getUserByCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)." + }, + "parameters": [ + { + "id": 530, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 531, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 535, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 340, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + }, + { + "id": 536, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 341, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 533, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 338, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 534, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 339, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [535, 536, 533, 534] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 537, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 540, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 345, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + }, + { + "id": 541, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 346, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 538, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 343, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 539, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 344, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [540, 541, 538, 539] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 519, + "name": "getUserById", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 326, + "character": 4 + } + ], + "signatures": [ + { + "id": 520, + "name": "getUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Get user by id." + }, + "parameters": [ + { + "id": 521, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 522, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 524, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 328, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 523, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 327, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [524, 523] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 525, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 527, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 331, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 526, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 330, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [527, 526] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 431, + "name": "inviteUserByEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 210, + "character": 4 + } + ], + "signatures": [ + { + "id": 432, + "name": "inviteUserByEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends an invite link to an email address." + }, + "parameters": [ + { + "id": 433, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 435, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 437, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 212, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 436, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 211, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [437, 436] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 438, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 440, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 215, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 439, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 214, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [440, 439] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 441, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 443, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 218, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 442, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 217, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [443, 442] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 511, + "name": "listUsers", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 312, + "character": 4 + } + ], + "signatures": [ + { + "id": 512, + "name": "listUsers", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "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" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 513, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 515, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 314, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 514, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 313, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [515, 514] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 518, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 317, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 517, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 316, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [518, 517] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 458, + "name": "refreshAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 239, + "character": 4 + } + ], + "signatures": [ + { + "id": 459, + "name": "refreshAccessToken", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates a new JWT." + }, + "parameters": [ + { + "id": 460, + "name": "refreshToken", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A valid refresh token that was returned on login.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 461, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 463, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 241, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 462, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 240, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [463, 462] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 464, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 466, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 244, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 465, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 243, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [466, 465] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 444, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 225, + "character": 4 + } + ], + "signatures": [ + { + "id": 445, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends a reset request to an email address." + }, + "parameters": [ + { + "id": 446, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 447, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 448, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 450, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 227, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 449, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 226, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [450, 449] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 451, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 452, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 229, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 453, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 454, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 230, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [452, 454] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 455, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 456, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 232, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 457, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 233, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [456, 457] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 366, + "name": "sendMagicLinkEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 133, + "character": 4 + } + ], + "signatures": [ + { + "id": 367, + "name": "sendMagicLinkEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends a magic login link to an email address." + }, + "parameters": [ + { + "id": 368, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 369, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 370, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 373, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 372, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 135, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 371, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 134, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [373, 372, 371] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 375, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 138, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 377, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 139, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [375, 377] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 379, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 141, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 380, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 142, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [379, 380] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 381, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 149, + "character": 4 + } + ], + "signatures": [ + { + "id": 382, + "name": "sendMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" + }, + "parameters": [ + { + "id": 383, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The user's phone number WITH international prefix" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 385, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 387, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 151, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 386, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A boolean flag to indicate whether to automatically create a user on magiclink / otp sign-ins if the user doesn't exist. Defaults to true.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 150, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [387, 386] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 388, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 389, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 390, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 391, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 154, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [389, 391] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 392, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 393, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 156, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 394, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 157, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [393, 394] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 467, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 252, + "character": 4 + } + ], + "signatures": [ + { + "id": 468, + "name": "setAuthCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)." + }, + "parameters": [ + { + "id": 469, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 470, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The response object.\n" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 314, + "name": "signInWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 69, + "character": 4 + } + ], + "signatures": [ + { + "id": 315, + "name": "signInWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs in an existing user using their email address." + }, + "parameters": [ + { + "id": 316, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 317, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 318, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 320, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [320] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 321, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 322, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 72, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 323, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 73, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [322, 323] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 324, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 325, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 75, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 326, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [325, 326] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 357, + "name": "signInWithOpenIDConnect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 120, + "character": 4 + } + ], + "signatures": [ + { + "id": 358, + "name": "signInWithOpenIDConnect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs in an OpenID Connect user using their id_token." + }, + "parameters": [ + { + "id": 359, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 843, + "qualifiedName": "OpenIDConnectCredentials", + "package": "@supabase/gotrue-js", + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 362, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 122, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 361, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 121, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [362, 361] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 363, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 365, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 125, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 364, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 124, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [365, 364] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 344, + "name": "signInWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 103, + "character": 4 + } + ], + "signatures": [ + { + "id": 345, + "name": "signInWithPhone", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs in an existing user using their phone number and password." + }, + "parameters": [ + { + "id": 346, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The phone number of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 347, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 348, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 349, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 350, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on your site.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 104, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [350] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 353, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 107, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 352, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 106, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [353, 352] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 354, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 356, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 110, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 355, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 109, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [356, 355] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 395, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 163, + "character": 4 + } + ], + "signatures": [ + { + "id": 396, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Removes a logged-in session." + }, + "parameters": [ + { + "id": 397, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A valid, logged-in JWT.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 398, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 399, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [399] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 296, + "name": "signUpWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 49, + "character": 4 + } + ], + "signatures": [ + { + "id": 297, + "name": "signUpWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Creates a new user using their email address.", + "returns": "A logged-in session if the server has \"autoconfirm\" ON" + }, + "parameters": [ + { + "id": 298, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 299, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 300, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 301, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 304, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 303, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 302, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 50, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [304, 303, 302] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 305, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 306, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 54, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 307, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 55, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [306, 307] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 309, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 310, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [309, 310] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 311, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 312, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 313, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 61, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [312, 313] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 327, + "name": "signUpWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 84, + "character": 4 + } + ], + "signatures": [ + { + "id": 328, + "name": "signUpWithPhone", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Signs up a new user using their phone number and a password." + }, + "parameters": [ + { + "id": 329, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The phone number of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 330, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 331, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 332, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 334, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 86, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 333, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 85, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [334, 333] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 335, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 336, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 88, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 337, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 89, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [336, 337] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 338, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 339, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 91, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 340, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 92, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [339, 340] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 342, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 94, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 343, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 95, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [342, 343] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 570, + "name": "updateUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 397, + "character": 4 + } + ], + "signatures": [ + { + "id": 571, + "name": "updateUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 572, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A valid, logged-in JWT." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 573, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The data you want to update.\n" + }, + "type": { + "type": "reference", + "id": 760, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 574, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 576, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 399, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 575, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 398, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [576, 575] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 577, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 579, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 402, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 578, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 401, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [579, 578] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 542, + "name": "updateUserById", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 355, + "character": 4 + } + ], + "signatures": [ + { + "id": 543, + "name": "updateUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 544, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 545, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "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" + }, + "type": { + "type": "reference", + "id": 766, + "qualifiedName": "AdminUserAttributes", + "package": "@supabase/gotrue-js", + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 546, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 548, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 357, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 356, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [548, 547] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 549, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 551, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 360, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 550, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 359, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [551, 550] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 400, + "name": "verifyMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 172, + "character": 4 + } + ], + "signatures": [ + { + "id": 401, + "name": "verifyMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `verifyOTP` instead!" + } + ] + }, + "parameters": [ + { + "id": 402, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The user's phone number WITH international prefix" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 403, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "token that user was sent to their mobile phone" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 404, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 405, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 406, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 173, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [406] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 407, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 408, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 175, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 409, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [408, 409] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 410, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 411, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 178, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 412, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 179, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411, 412] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 414, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 181, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 415, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 182, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [414, 415] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 416, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 192, + "character": 4 + } + ], + "signatures": [ + { + "id": 417, + "name": "verifyOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Send User supplied Email / Mobile OTP to be verified" + }, + "parameters": [ + { + "id": 418, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 830, + "qualifiedName": "VerifyOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyOTPParams" + } + }, + { + "id": 419, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 421, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 193, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [421] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 422, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 423, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 195, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 424, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 196, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [423, 424] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 426, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 198, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 427, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 199, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [426, 427] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 428, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 429, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 201, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 430, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 202, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [429, 430] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [257] + }, + { + "title": "Properties", + "kind": 1024, + "children": [283, 284, 277, 278, 273, 272] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 500, 471, 552, 482, 478, 285, 561, 528, 519, 431, 511, 458, 444, 366, 381, 467, 314, + 357, 344, 395, 296, 327, 570, 542, 400, 416 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 4, + "character": 21 + } + ] + }, + { + "id": 580, + "name": "GoTrueClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 581, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 41, + "character": 4 + } + ], + "signatures": [ + { + "id": 582, + "name": "new GoTrueClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "parameters": [ + { + "id": 583, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 584, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 592, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Set to \"true\" if you want to automatically refresh the token before expiring." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 48, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 596, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": {}, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 784, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 591, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 47, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 597, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 598, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 599, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A custom fetch implementation.\n" + }, + "parameters": [ + { + "id": 600, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 601, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "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": 586, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Any additional headers to send to the GoTrue server." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 43, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 587, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 588, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 589, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 595, + "name": "multiTab", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Set to \"false\" if you want to disable multi-tab/window events." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 593, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 594, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 50, + "character": 8 + } + ], + "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" + } + ], + "qualifiedName": "PromisifyMethods", + "package": "@supabase/gotrue-js", + "name": "PromisifyMethods" + } + }, + { + "id": 590, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional key name used for storing tokens in local storage" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 46, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 585, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The URL of the GoTrue server." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 42, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [592, 596, 591, 597, 586, 595, 593, 594, 590, 585] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 580, + "qualifiedName": "GoTrueClient", + "package": "@supabase/gotrue-js", + "name": "default" + } + } + ] + }, + { + "id": 712, + "name": "_callRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 199, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 706, + "name": "_doesSessionExist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 707, + "name": "_handleEmailSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 190, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 710, + "name": "_handleOpenIDConnectSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 708, + "name": "_handlePhoneSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 191, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 709, + "name": "_handleProviderSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 192, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 718, + "name": "_handleVisibilityChange", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 213, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 713, + "name": "_notifyAllSubscribers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 200, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 715, + "name": "_persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 206, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 711, + "name": "_recoverAndRefresh", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "comment": { + "shortText": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 716, + "name": "_removeSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 714, + "name": "_saveSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "comment": { + "shortText": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 205, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 717, + "name": "_startAutoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "comment": { + "shortText": "Clear and re-create refresh token timer", + "tags": [ + { + "tag": "param", + "text": "time intervals in milliseconds\n", + "param": "value" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 212, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 602, + "name": "api", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 256, + "qualifiedName": "GoTrueApi", + "package": "@supabase/gotrue-js", + "name": "default" + } + }, + { + "id": 605, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 21, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 604, + "name": "inMemorySession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "comment": { + "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 20, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + }, + { + "id": 610, + "name": "networkRetries", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 26, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 606, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 22, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 609, + "name": "refreshTokenTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 25, + "character": 14 + } + ], + "type": { + "type": "reference", + "qualifiedName": "global.NodeJS.Timeout", + "package": "@types/node", + "name": "Timeout" + } + }, + { + "id": 611, + "name": "refreshingDeferred", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 27, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 850, + "qualifiedName": "CallRefreshTokenResult", + "package": "@supabase/gotrue-js", + "name": "CallRefreshTokenResult" + } + ], + "qualifiedName": "Deferred", + "package": "@supabase/gotrue-js", + "name": "Deferred" + } + ] + } + }, + { + "id": 608, + "name": "stateChangeEmitters", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 24, + "character": 14 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 776, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + ], + "qualifiedName": "Map", + "package": "typescript", + "name": "Map" + } + }, + { + "id": 607, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 23, + "character": 14 + } + ], + "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" + } + ], + "qualifiedName": "PromisifyMethods", + "package": "@supabase/gotrue-js", + "name": "PromisifyMethods" + } + }, + { + "id": 603, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "comment": { + "shortText": "The storage key used to identity the values saved in localStorage" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 15, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 635, + "name": "getSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 109, + "character": 4 + } + ], + "signatures": [ + { + "id": 636, + "name": "getSession", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the session data, refreshing it if necessary." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 637, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 639, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 111, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 638, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 110, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [639, 638] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 640, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 642, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 114, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 641, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 113, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [642, 641] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 643, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 645, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 117, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 644, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 116, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [645, 644] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 678, + "name": "getSessionFromUrl", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 160, + "character": 4 + } + ], + "signatures": [ + { + "id": 679, + "name": "getSessionFromUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Gets the session data from a URL string" + }, + "parameters": [ + { + "id": 680, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 681, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 682, + "name": "storeSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optionally store the session in the browser\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 161, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [682] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 683, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 685, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 684, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 163, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 684] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 688, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 167, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 687, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 166, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [688, 687] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 646, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 122, + "character": 4 + } + ], + "signatures": [ + { + "id": 647, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the user data, refreshing the session if necessary." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 648, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 650, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 124, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 649, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 123, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [650, 649] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 651, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 653, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 127, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 652, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 126, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [653, 652] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 654, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 656, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 130, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 655, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 655] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 693, + "name": "onAuthStateChange", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 182, + "character": 4 + } + ], + "signatures": [ + { + "id": 694, + "name": "onAuthStateChange", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Receive a notification every time an auth event happens.", + "returns": "A subscription object which can be used to unsubscribe itself.\n" + }, + "parameters": [ + { + "id": 695, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 696, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 697, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 698, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 720, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 699, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 700, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 702, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 184, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 701, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 183, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 776, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [702, 701] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 703, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 705, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 187, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 704, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 186, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [705, 704] + } + ] + } + } + ] + } + } + ] + }, + { + "id": 666, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 146, + "character": 4 + } + ], + "signatures": [ + { + "id": 667, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sets the session data from refresh_token and returns current Session and Error" + }, + "parameters": [ + { + "id": 668, + "name": "refresh_token", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "a JWT token\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 669, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 671, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 148, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 670, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 147, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [671, 670] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 672, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 674, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 151, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 673, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 150, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [674, 673] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 677, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 154, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 676, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [677, 676] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 623, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 86, + "character": 4 + } + ], + "signatures": [ + { + "id": 624, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 625, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 819, + "qualifiedName": "SignInWithOAuthCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 734, + "qualifiedName": "OAuthResponse", + "package": "@supabase/gotrue-js", + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 626, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 94, + "character": 4 + } + ], + "signatures": [ + { + "id": 627, + "name": "signInWithOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Passwordless method for logging in an existing user." + }, + "parameters": [ + { + "id": 628, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 808, + "qualifiedName": "SignInWithPasswordlessCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 721, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 620, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 77, + "character": 4 + } + ], + "signatures": [ + { + "id": 621, + "name": "signInWithPassword", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Log in an existing user, or login via a third-party provider." + }, + "parameters": [ + { + "id": 622, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 797, + "qualifiedName": "SignInWithPasswordCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 721, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 689, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 175, + "character": 4 + } + ], + "signatures": [ + { + "id": 690, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Inside a browser context, `signOut()` will remove the logged in user from the browser session\nand log them out - removing all items from localstorage and then trigger a \"SIGNED_OUT\" event.", + "text": "For server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 691, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 692, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [692] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 612, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 64, + "character": 4 + } + ], + "signatures": [ + { + "id": 613, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 614, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 790, + "qualifiedName": "UserCredentials", + "package": "@supabase/gotrue-js", + "name": "UserCredentials" + } + }, + { + "id": 615, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 616, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 619, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 67, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 618, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional user metadata.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 66, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 617, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The redirect URL attached to the signup confirmation link. Does not redirect the user if it's a mobile signup." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 65, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [619, 618, 617] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 721, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 657, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 135, + "character": 4 + } + ], + "signatures": [ + { + "id": 658, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates user data, if there is a logged in user." + }, + "parameters": [ + { + "id": 659, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 760, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 662, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 137, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 661, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [662, 661] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 663, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 665, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 140, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 664, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 139, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [665, 664] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 629, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 103, + "character": 4 + } + ], + "signatures": [ + { + "id": 630, + "name": "verifyOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Log in a user given a User supplied OTP received via mobile." + }, + "parameters": [ + { + "id": 631, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 830, + "qualifiedName": "VerifyOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyOTPParams" + } + }, + { + "id": 632, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 633, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 634, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A URL or mobile address to send the user to after they are confirmed.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 104, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [634] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 721, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [581] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 712, 706, 707, 710, 708, 709, 718, 713, 715, 711, 716, 714, 717, 602, 605, 604, 610, + 606, 609, 611, 608, 607, 603 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [635, 678, 646, 693, 666, 623, 626, 620, 689, 612, 657, 629] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 6, + "character": 21 + } + ] + }, + { + "id": 1167, + "name": "RealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1169, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 29, + "character": 4 + } + ], + "signatures": [ + { + "id": 1170, + "name": "new RealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1171, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1172, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1173, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1174, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1175, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1176, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 1048, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1183, + "name": "bindings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1184, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1185, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1186, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1193, + "name": "callback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1189, + "name": "filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1190, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 15, + "character": 20 + } + ], + "indexSignature": { + "id": 1191, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1192, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1194, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 19, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1188, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1193, 1189, 1194, 1188] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 13, + "character": 23 + } + ] + } + } + } + } + } + } + }, + { + "id": 1308, + "name": "getPayloadRecords", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 101, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1198, + "name": "joinPush", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Push", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1197, + "name": "joinedOnce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1178, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 8, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1179, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1180, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1181, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1201, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 1309, + "qualifiedName": "RealtimePresence", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1200, + "name": "pushBuffer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 27, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Push", + "package": "@supabase/realtime-js", + "name": "default" + } + } + }, + { + "id": 1199, + "name": "rejoinTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Timer", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1182, + "name": "socket", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 1048, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1196, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 23, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "CHANNEL_STATES", + "package": "@supabase/realtime-js", + "name": "CHANNEL_STATES" + } + }, + { + "id": 1195, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1177, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1168, + "name": "isEqual", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 100, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1247, + "name": "canPush", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 60, + "character": 4 + } + ], + "signatures": [ + { + "id": 1248, + "name": "canPush", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns `true` if the socket is connected and the channel has been joined." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1298, + "name": "isClosed", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 95, + "character": 4 + } + ], + "signatures": [ + { + "id": 1299, + "name": "isClosed", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1300, + "name": "isErrored", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 96, + "character": 4 + } + ], + "signatures": [ + { + "id": 1301, + "name": "isErrored", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1302, + "name": "isJoined", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 97, + "character": 4 + } + ], + "signatures": [ + { + "id": 1303, + "name": "isJoined", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1304, + "name": "isJoining", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 98, + "character": 4 + } + ], + "signatures": [ + { + "id": 1305, + "name": "isJoining", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1306, + "name": "isLeaving", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 99, + "character": 4 + } + ], + "signatures": [ + { + "id": 1307, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1282, + "name": "isMember", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 90, + "character": 4 + } + ], + "signatures": [ + { + "id": 1283, + "name": "isMember", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1284, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1285, + "name": "joinRef", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 91, + "character": 4 + } + ], + "signatures": [ + { + "id": 1286, + "name": "joinRef", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1240, + "name": "off", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 54, + "character": 4 + } + ], + "signatures": [ + { + "id": 1241, + "name": "off", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1242, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1243, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1245, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1246, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1232, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 51, + "character": 4 + } + ], + "signatures": [ + { + "id": 1233, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1234, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1236, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1237, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1238, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1239, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1226, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 46, + "character": 4 + } + ], + "signatures": [ + { + "id": 1227, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Registers a callback that will be executed when the channel closes." + }, + "parameters": [ + { + "id": 1228, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1229, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 50, + "character": 4 + } + ], + "signatures": [ + { + "id": 1230, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Registers a callback that will be executed when the channel encounteres an error." + }, + "parameters": [ + { + "id": 1231, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1277, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 89, + "character": 4 + } + ], + "signatures": [ + { + "id": 1278, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Overridable message hook", + "text": "Receives all events for specialized message handling before dispatching to the channel callbacks.\nMust return the payload, modified or unmodified.\n" + }, + "parameters": [ + { + "id": 1279, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1280, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1281, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 1208, + "name": "presenceState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 34, + "character": 4 + } + ], + "signatures": [ + { + "id": 1209, + "name": "presenceState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + } + ] + }, + { + "id": 1249, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 61, + "character": 4 + } + ], + "signatures": [ + { + "id": 1250, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1251, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1252, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1253, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1254, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1255, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1256, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "Push", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1287, + "name": "rejoin", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 92, + "character": 4 + } + ], + "signatures": [ + { + "id": 1288, + "name": "rejoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1289, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1202, + "name": "rejoinUntilConnected", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 32, + "character": 4 + } + ], + "signatures": [ + { + "id": 1203, + "name": "rejoinUntilConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1295, + "name": "replyEventName", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 94, + "character": 4 + } + ], + "signatures": [ + { + "id": 1296, + "name": "replyEventName", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1297, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1257, + "name": "send", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 64, + "character": 4 + } + ], + "signatures": [ + { + "id": 1258, + "name": "send", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1259, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1260, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1261, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 65, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1261] + } + ], + "indexSignature": { + "id": 1262, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1263, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1264, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1265, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1266, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1267, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 1204, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 33, + "character": 4 + } + ], + "signatures": [ + { + "id": 1205, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1206, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1207, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1210, + "name": "track", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 35, + "character": 4 + } + ], + "signatures": [ + { + "id": 1211, + "name": "track", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1212, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1214, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1215, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1216, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1217, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1218, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1219, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 1290, + "name": "trigger", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 93, + "character": 4 + } + ], + "signatures": [ + { + "id": 1291, + "name": "trigger", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1292, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1293, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1294, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1274, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 82, + "character": 4 + } + ], + "signatures": [ + { + "id": 1275, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "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" + }, + "parameters": [ + { + "id": 1276, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "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": 1220, + "name": "untrack", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 40, + "character": 4 + } + ], + "signatures": [ + { + "id": 1221, + "name": "untrack", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1222, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1223, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1224, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1225, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timed out" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 1268, + "name": "updateJoinPayload", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 70, + "character": 4 + } + ], + "signatures": [ + { + "id": 1269, + "name": "updateJoinPayload", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1270, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1272, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1273, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1169] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, 1177, 1168 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, 1229, 1277, 1208, + 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 6, + "character": 21 + } + ] + }, + { + "id": 1048, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1049, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 74, + "character": 4 + } + ], + "signatures": [ + { + "id": 1050, + "name": "new RealtimeClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Initializes the Socket." + }, + "parameters": [ + { + "id": 1051, + "name": "endPoint", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1052, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "id": 1150, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 1048, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1147, + "name": "_appendParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 177, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1148, + "name": "_flushSendBuffer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 178, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1144, + "name": "_onConnClose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 174, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1145, + "name": "_onConnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 175, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1143, + "name": "_onConnOpen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 173, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1149, + "name": "_sendHeartbeat", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 179, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1146, + "name": "_triggerChanError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 176, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1053, + "name": "accessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 31, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1054, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + }, + { + "id": 1075, + "name": "conn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 51, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + ] + } + }, + { + "id": 1073, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 49, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1072, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 48, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1055, + "name": "endPoint", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 33, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1056, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 34, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1057, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1058, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1059, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1066, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1067, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 43, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "qualifiedName": "global.NodeJS.Timer", + "package": "@types/node", + "name": "Timer" + } + ] + } + }, + { + "id": 1071, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 47, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1060, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1061, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1062, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1063, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1068, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1074, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 50, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1070, + "name": "reconnectTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 46, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Timer", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1069, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 45, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1076, + "name": "sendBuffer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 1077, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 53, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Serializer", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1078, + "name": "stateChangeCallbacks", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1079, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1081, + "name": "close", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 1082, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 1083, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 1080, + "name": "open", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 55, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1081, 1082, 1083, 1080] + } + ] + } + } + }, + { + "id": 1064, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1065, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1121, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 145, + "character": 4 + } + ], + "signatures": [ + { + "id": 1122, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1123, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1124, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "ChannelParams", + "package": "@supabase/realtime-js", + "name": "ChannelParams" + } + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1084, + "name": "connect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 78, + "character": 4 + } + ], + "signatures": [ + { + "id": 1085, + "name": "connect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Connects the socket, unless already connected." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1114, + "name": "connectionState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 134, + "character": 4 + } + ], + "signatures": [ + { + "id": 1115, + "name": "connectionState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the current state of the socket." + }, + "type": { + "type": "reference", + "qualifiedName": "CONNECTION_STATE", + "package": "@supabase/realtime-js", + "name": "CONNECTION_STATE" + } + } + ] + }, + { + "id": 1086, + "name": "disconnect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 85, + "character": 4 + } + ], + "signatures": [ + { + "id": 1087, + "name": "disconnect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Disconnects the socket." + }, + "parameters": [ + { + "id": 1088, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A numeric status code to send on disconnect." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1089, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A custom reason for the disconnect.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1133, + "name": "endPointURL", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 158, + "character": 4 + } + ], + "signatures": [ + { + "id": 1134, + "name": "endPointURL", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the URL of the websocket." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1090, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 86, + "character": 4 + } + ], + "signatures": [ + { + "id": 1091, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + } + ] + }, + { + "id": 1116, + "name": "isConnected", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 138, + "character": 4 + } + ], + "signatures": [ + { + "id": 1117, + "name": "isConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Retuns `true` is the connection is open." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1140, + "name": "leaveOpenTopic", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 172, + "character": 4 + } + ], + "signatures": [ + { + "id": 1141, + "name": "leaveOpenTopic", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Unsubscribe from channels with the specified topic." + }, + "parameters": [ + { + "id": 1142, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1097, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 94, + "character": 4 + } + ], + "signatures": [ + { + "id": 1098, + "name": "log", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs the message.", + "text": "For customized logging, `this.logger` can be overriden.\n" + }, + "parameters": [ + { + "id": 1099, + "name": "kind", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1100, + "name": "msg", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1101, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1135, + "name": "makeRef", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 162, + "character": 4 + } + ], + "signatures": [ + { + "id": 1136, + "name": "makeRef", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Return the next message ref, accounting for overflows" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1105, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 112, + "character": 4 + } + ], + "signatures": [ + { + "id": 1106, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Registers a callback for connection state change events.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n" + } + ] + }, + "parameters": [ + { + "id": 1107, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1128, + "name": "onConnMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 152, + "character": 4 + } + ], + "signatures": [ + { + "id": 1129, + "name": "onConnMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1130, + "name": "rawMessage", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1131, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1132, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1132] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1108, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 121, + "character": 4 + } + ], + "signatures": [ + { + "id": 1109, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Registers a callback for connection state change events.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen((error) => console.log(\"An error occurred\"))\n" + } + ] + }, + "parameters": [ + { + "id": 1110, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1111, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 130, + "character": 4 + } + ], + "signatures": [ + { + "id": 1112, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Calls a function any time a message is received.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onMessage((message) => console.log(message))\n" + } + ] + }, + "parameters": [ + { + "id": 1113, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1102, + "name": "onOpen", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 103, + "character": 4 + } + ], + "signatures": [ + { + "id": 1103, + "name": "onOpen", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Registers a callback for connection state change event.", + "tags": [ + { + "tag": "example", + "text": "\n socket.onOpen(() => console.log(\"Socket opened.\"))\n" + } + ] + }, + "parameters": [ + { + "id": 1104, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1125, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 151, + "character": 4 + } + ], + "signatures": [ + { + "id": 1126, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "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" + }, + "parameters": [ + { + "id": 1127, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Message", + "package": "@supabase/realtime-js", + "name": "Message" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1118, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 144, + "character": 4 + } + ], + "signatures": [ + { + "id": 1119, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Removes a subscription from the socket." + }, + "parameters": [ + { + "id": 1120, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "An open subscription.\n" + }, + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1095, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 88, + "character": 4 + } + ], + "signatures": [ + { + "id": 1096, + "name": "removeAllChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "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": 1092, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 87, + "character": 4 + } + ], + "signatures": [ + { + "id": 1093, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1094, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 1167, + "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": 1137, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 168, + "character": 4 + } + ], + "signatures": [ + { + "id": 1138, + "name": "setAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." + }, + "parameters": [ + { + "id": 1139, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A JWT string.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1049] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, 1054, 1075, 1073, 1072, 1055, 1056, + 1066, 1067, 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, 1078, 1064, 1065 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, 1097, 1135, 1105, 1128, 1108, 1111, + 1102, 1125, 1118, 1095, 1092, 1137 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 30, + "character": 21 + } + ] + }, + { + "id": 1309, + "name": "RealtimePresence", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1330, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 43, + "character": 4 + } + ], + "signatures": [ + { + "id": 1331, + "name": "new RealtimePresence", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Initializes the Presence." + }, + "parameters": [ + { + "id": 1332, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The RealtimeChannel" + }, + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1333, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOpts", + "package": "@types/phoenix", + "name": "PresenceOpts" + } + } + ], + "type": { + "type": "reference", + "id": 1309, + "qualifiedName": "RealtimePresence", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1338, + "name": "caller", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 31, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1339, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1340, + "name": "onJoin", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 32, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 1341, + "name": "onLeave", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 33, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + }, + { + "id": 1342, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 34, + "character": 8 + } + ], + "signatures": [ + { + "id": 1343, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1340, 1341] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1342] + } + ] + } + } + }, + { + "id": 1334, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 27, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1359, + "name": "inPendingSyncState", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 94, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1337, + "name": "joinRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 30, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1336, + "name": "pendingDiffs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 29, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "RawPresenceDiff", + "package": "@supabase/realtime-js", + "name": "RawPresenceDiff" + } + } + }, + { + "id": 1335, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1329, + "name": "cloneDeep", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 89, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1327, + "name": "map", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 66, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1328, + "name": "transformState", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExternal": true + }, + "comment": { + "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'", + "tags": [ + { + "tag": "example", + "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '3', user_id: 2 }\n ]\n}\nRealtimePresence.transformState({\n abc123: {\n metas: [\n { phx_ref: '2', phx_ref_prev: '1' user_id: 1 },\n { phx_ref: '3', user_id: 2 }\n ]\n }\n})\n" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 88, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1355, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 93, + "character": 4 + } + ], + "signatures": [ + { + "id": 1356, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "typeParameter": [ + { + "id": 1357, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + }, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 1358, + "name": "by", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1357, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + ], + "qualifiedName": "PresenceChooser", + "package": "@supabase/realtime-js", + "name": "PresenceChooser" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1357, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + } + } + ] + }, + { + "id": 1344, + "name": "onJoin", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 90, + "character": 4 + } + ], + "signatures": [ + { + "id": 1345, + "name": "onJoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1346, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1347, + "name": "onLeave", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 91, + "character": 4 + } + ], + "signatures": [ + { + "id": 1348, + "name": "onLeave", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1349, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1350, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 92, + "character": 4 + } + ], + "signatures": [ + { + "id": 1351, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1352, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1353, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 1354, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1322, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 65, + "character": 11 + } + ], + "signatures": [ + { + "id": 1323, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the array of presences, with selected metadata." + }, + "typeParameter": [ + { + "id": 1324, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + }, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 1325, + "name": "presences", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1326, + "name": "chooser", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1324, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + ], + "qualifiedName": "PresenceChooser", + "package": "@supabase/realtime-js", + "name": "PresenceChooser" + } + ] + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1324, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + } + } + ] + }, + { + "id": 1316, + "name": "syncDiff", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 61, + "character": 11 + } + ], + "signatures": [ + { + "id": 1317, + "name": "syncDiff", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Used to sync a diff of presence join and leave events from the\nserver, as they happen.", + "text": "Like `syncState`, `syncDiff` accepts optional `onJoin` and\n`onLeave` callbacks to react to a user joining or leaving from a\ndevice.\n" + }, + "parameters": [ + { + "id": 1318, + "name": "state", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1319, + "name": "diff", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RawPresenceDiff", + "package": "@supabase/realtime-js", + "name": "RawPresenceDiff" + }, + { + "type": "reference", + "qualifiedName": "PresenceDiff", + "package": "@supabase/realtime-js", + "name": "PresenceDiff" + } + ] + } + }, + { + "id": 1320, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 1321, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + } + ] + }, + { + "id": 1310, + "name": "syncState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 52, + "character": 11 + } + ], + "signatures": [ + { + "id": 1311, + "name": "syncState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Used to sync the list of presences on the server with the\nclient's state.", + "text": "An optional `onJoin` and `onLeave` callback can be provided to\nreact to changes in the client's local presences across\ndisconnects and reconnects with the server.\n" + }, + "parameters": [ + { + "id": 1312, + "name": "currentState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1313, + "name": "newState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + }, + { + "type": "reference", + "qualifiedName": "RawPresenceState", + "package": "@supabase/realtime-js", + "name": "RawPresenceState" + } + ] + } + }, + { + "id": 1314, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 1315, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnLeaveCallback", + "package": "@types/phoenix", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1330] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1338, 1334, 1359, 1337, 1336, 1335, 1329, 1327, 1328] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1355, 1344, 1347, 1350, 1322, 1316, 1310] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 26, + "character": 21 + } + ] + }, + { + "id": 161, + "name": "SupabaseClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Supabase Client.", + "text": "An isomorphic Javascript client for interacting with Postgres.\n" + }, + "children": [ + { + "id": 162, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 163, + "name": "new SupabaseClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "typeParameter": [ + { + "id": 164, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 165, + "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": 164, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 164, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 166, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 107, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 164, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 107, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 167, + "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": 168, + "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": 169, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 79, + "typeArguments": [ + { + "type": "reference", + "id": 165, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 161, + "typeArguments": [ + { + "type": "reference", + "id": 164, + "name": "Database" + }, + { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 166, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 170, + "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": 49, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "SupabaseAuthClient" + } + }, + { + "id": 172, + "name": "authUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 183, + "name": "changedAccessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 178, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 58, + "character": 12 + } + ], + "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": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 182, + "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": 174, + "name": "functionsUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 54, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 186, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 187, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 175, + "name": "realtime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 55, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1048, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 171, + "name": "realtimeUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 176, + "name": "rest", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 164, + "name": "Database" + }, + { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 164, + "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": 177, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 173, + "name": "storageUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 189, + "name": "supabaseKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "supabaseUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 190, + "name": "functions", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 132, + "character": 6 + } + ], + "getSignature": [ + { + "id": 191, + "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": 192, + "name": "storage", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 142, + "character": 6 + } + ], + "getSignature": [ + { + "id": 193, + "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": 225, + "name": "_getAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 225, + "character": 16 + } + ], + "signatures": [ + { + "id": 226, + "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": 247, + "name": "_handleTokenChanged", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 274, + "character": 10 + } + ], + "signatures": [ + { + "id": 248, + "name": "_handleTokenChanged", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 249, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 720, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 250, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 251, + "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": 236, + "name": "_initRealtimeClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 260, + "character": 10 + } + ], + "signatures": [ + { + "id": 237, + "name": "_initRealtimeClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 238, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 1150, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 1048, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 227, + "name": "_initSupabaseAuthClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 231, + "character": 10 + } + ], + "signatures": [ + { + "id": 228, + "name": "_initSupabaseAuthClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 229, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 60, + "name": "SupabaseAuthClientOptions" + } + }, + { + "id": 230, + "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": 231, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 232, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 233, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 234, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 235, + "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": 239, + "name": "_listenForAuthEvents", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 267, + "character": 10 + } + ], + "signatures": [ + { + "id": 240, + "name": "_listenForAuthEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 241, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 243, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 184, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 242, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 183, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 776, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [243, 242] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 246, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 187, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 245, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 186, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [246, 245] + } + ] + } + } + ] + } + } + ] + }, + { + "id": 211, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 197, + "character": 2 + } + ], + "signatures": [ + { + "id": 212, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a Realtime channel with Broadcast, Presence, and Postgres Changes." + }, + "parameters": [ + { + "id": 213, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The name of the Realtime channel." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 214, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The options to pass to the Realtime channel.\n\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 216, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 217, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 194, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 151, + "character": 2 + } + ], + "signatures": [ + { + "id": 195, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "id": 196, + "name": "TableName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 197, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 98, + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 198, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table name to operate on.\n" + }, + "type": { + "type": "reference", + "id": 196, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 197, + "name": "Table" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + }, + { + "id": 199, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 200, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + }, + { + "id": 218, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 204, + "character": 2 + } + ], + "signatures": [ + { + "id": 219, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns all Realtime channels." + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1167, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + } + ] + }, + { + "id": 223, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 221, + "character": 2 + } + ], + "signatures": [ + { + "id": 224, + "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": 220, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 214, + "character": 2 + } + ], + "signatures": [ + { + "id": 221, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Unsubscribes and removes Realtime channel from Realtime client." + }, + "parameters": [ + { + "id": 222, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The name of the Realtime channel.\n\n" + }, + "type": { + "type": "reference", + "id": 1167, + "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": 201, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 169, + "character": 2 + } + ], + "signatures": [ + { + "id": 202, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 203, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 204, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 103, + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 205, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call." + }, + "type": { + "type": "reference", + "id": 203, + "name": "FunctionName" + } + }, + { + "id": 206, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 204, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 207, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 208, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 210, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 177, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 209, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 176, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [210, 209] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 204, + "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": 204, + "name": "Function_" + } + } + ], + "qualifiedName": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [162] + }, + { + "title": "Properties", + "kind": 1024, + "children": [170, 172, 183, 178, 174, 184, 175, 171, 176, 177, 173, 189, 188] + }, + { + "title": "Accessors", + "kind": 262144, + "children": [190, 192] + }, + { + "title": "Methods", + "kind": 2048, + "children": [225, 247, 236, 227, 239, 211, 194, 218, 223, 220, 201] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 37, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 252, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 253, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 164, + "name": "Database" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 164, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 164, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 254, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 107, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 164, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 107, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 165, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 164, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 766, + "name": "AdminUserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 768, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for app_metadata that.", + "text": "Only a service role can modify.\n\nCan be any JSON that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 126, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 775, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 103, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + }, + "inheritedFrom": { + "type": "reference", + "id": 765, + "name": "UserAttributes.data" + } + }, + { + "id": 771, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 87, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 761, + "name": "UserAttributes.email" + } + }, + { + "id": 774, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "An email change token." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 99, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 764, + "name": "UserAttributes.email_change_token" + } + }, + { + "id": 769, + "name": "email_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Sets if a user has confirmed their email address.", + "text": "Only a service role can modify.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 132, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 95, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 763, + "name": "UserAttributes.password" + } + }, + { + "id": 772, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 91, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 762, + "name": "UserAttributes.phone" + } + }, + { + "id": 770, + "name": "phone_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Sets if a user has confirmed their phone number.", + "text": "Only a service role can modify.\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 138, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 767, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for user_metadata.", + "text": "Can be any JSON.\n\nOnly a service role can modify.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's user_metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 117, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 105, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 760, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + ] + }, + { + "id": 141, + "name": "AuthSession", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 143, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 145, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A timestamp of when the token will expire. Returned when a login is confirmed." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 144, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 142, + "name": "provider_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 31, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 146, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 148, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 43, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [143, 145, 144, 142, 146, 147, 148] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 113, + "name": "AuthUser", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 130, + "name": "action_link", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 71, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 115, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 58, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 116, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 117, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 59, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [117] + } + ], + "indexSignature": { + "id": 118, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 119, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 124, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 65, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 125, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 66, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 134, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 75, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 133, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 74, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 131, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 72, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 127, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 68, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 135, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 76, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 114, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 57, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 140, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 81, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 748, + "qualifiedName": "UserIdentity", + "package": "@supabase/gotrue-js", + "name": "UserIdentity" + } + } + }, + { + "id": 129, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 70, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 137, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 78, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 128, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 69, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 132, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 73, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 136, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 77, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 126, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 67, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 138, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 79, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 139, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 80, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 120, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 62, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 121, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 122, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 123, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 130, 115, 124, 125, 134, 133, 131, 127, 135, 114, 140, 129, 137, 128, 132, 136, 126, + 138, 139, 120 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 56, + "character": 17 + } + ] + }, + { + "id": 784, + "name": "CookieOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 787, + "name": "domain", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The cookie domain this should run on. Leave it blank to restrict it to your domain." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 160, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 786, + "name": "lifetime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The cookie lifetime (expiration) in seconds. Set to 8 hours by default." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 158, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 785, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The Cookie name prefix. Defaults to `sb` meaning the cookies will be `sb-access-token` and `sb-refresh-token`." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 156, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 788, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 161, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 789, + "name": "sameSite", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "SameSite configuration for the session cookie. Defaults to 'lax', but can be changed to 'strict' or 'none'. Set it to false if you want to disable the SameSite setting." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 163, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [787, 786, 785, 788, 789] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 154, + "character": 17 + } + ] + }, + { + "id": 843, + "name": "OpenIDConnectCredentials", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 847, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 229, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 844, + "name": "id_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 226, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 848, + "name": "issuer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 230, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 845, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 227, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 846, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 228, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [847, 844, 848, 845, 846] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 225, + "character": 17 + } + ] + }, + { + "id": 823, + "name": "SignInWithOAuthOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 826, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 206, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 827, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 828, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 829, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 824, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 204, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 825, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 205, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [826, 824, 825] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 203, + "character": 17 + } + ] + }, + { + "id": 806, + "name": "SignInWithPasswordOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 807, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 184, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [807] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 183, + "character": 17 + } + ] + }, + { + "id": 815, + "name": "SignInWithPasswordlessOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 818, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 197, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 816, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 195, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 817, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 196, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [818, 816, 817] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 193, + "character": 17 + } + ] + }, + { + "id": 776, + "name": "Subscription", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 777, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The subscriber UUID. This will be set by the client." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 144, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 778, + "name": "callback", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 148, + "character": 4 + } + ], + "signatures": [ + { + "id": 779, + "name": "callback", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The function to call every time there is an event. eg: (eventName) => {}" + }, + "parameters": [ + { + "id": 780, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 720, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 781, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 782, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 152, + "character": 4 + } + ], + "signatures": [ + { + "id": 783, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Call this to remove the listener." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [777] + }, + { + "title": "Methods", + "kind": 2048, + "children": [778, 782] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 140, + "character": 17 + } + ] + }, + { + "id": 760, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 765, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "A custom data object for user_metadata that a user can modify. Can be any JSON." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 103, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 761, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 87, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 764, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "An email change token." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 99, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 763, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 95, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 91, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [765, 761, 764, 763, 762] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 83, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 766, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 790, + "name": "UserCredentials", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 791, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 166, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 796, + "name": "oidc", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 172, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 843, + "qualifiedName": "OpenIDConnectCredentials", + "package": "@supabase/gotrue-js", + "name": "OpenIDConnectCredentials" + } + }, + { + "id": 793, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 792, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 795, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "The name of the provider." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 794, + "name": "refreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 169, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [791, 796, 793, 792, 795, 794] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 165, + "character": 17 + } + ] + }, + { + "id": 748, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 756, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 749, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 46, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 751, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 48, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 752, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 753, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 754, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 757, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 53, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 755, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 51, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 750, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 47, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [756, 749, 751, 757, 755, 758, 750] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 45, + "character": 17 + } + ] + }, + { + "id": 836, + "name": "VerifyEmailOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 837, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 218, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 838, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 219, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 839, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 220, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 840, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 221, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 842, + "qualifiedName": "EmailOTPType", + "package": "@supabase/gotrue-js", + "name": "EmailOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [837, 838, 839, 840] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 217, + "character": 17 + } + ] + }, + { + "id": 831, + "name": "VerifyMobileOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 832, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 212, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 833, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 213, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 834, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 214, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 835, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 215, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 841, + "qualifiedName": "MobileOTPType", + "package": "@supabase/gotrue-js", + "name": "MobileOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [832, 833, 834, 835] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 211, + "character": 17 + } + ] + }, + { + "id": 720, + "name": "AuthChangeEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 3, + "character": 20 + } + ], + "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" + } + ] + } + }, + { + "id": 721, + "name": "AuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 4, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 722, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 723, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 5, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 724, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 726, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 7, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 725, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 6, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 113, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [726, 725] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 5, + "character": 10 + } + ] + } + } + }, + { + "id": 727, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [723, 727] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 4, + "character": 35 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 728, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 729, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 730, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 732, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 13, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 731, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 12, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [732, 731] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 11, + "character": 10 + } + ] + } + } + }, + { + "id": 733, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [729, 733] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 10, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 850, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 238, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 851, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 853, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 852, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 239, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 141, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [853, 852] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 238, + "character": 45 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 854, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 856, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 243, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 855, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 242, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [856, 855] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 241, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 842, + "name": "EmailOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 224, + "character": 20 + } + ], + "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": 841, + "name": "MobileOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 223, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 734, + "name": "OAuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 17, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 735, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 736, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 18, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 737, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 738, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 19, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 739, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 20, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [738, 739] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 18, + "character": 10 + } + ] + } + } + }, + { + "id": 740, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [736, 740] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 17, + "character": 36 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 741, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 742, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 743, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 744, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 25, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 745, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [744, 745] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 24, + "character": 10 + } + ] + } + } + }, + { + "id": 746, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [742, 746] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 23, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 155, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 7, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 160, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 158, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 159, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 157, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 8, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [160, 158, 159, 157] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 7, + "character": 37 + } + ] + } + } + }, + { + "id": 153, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 39, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 154, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "reference", + "id": 151, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 154, + "qualifiedName": "T", + "package": "@supabase/postgrest-js", + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "qualifiedName": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js", + "name": "PostgrestSingleResponse" + } + }, + { + "id": 149, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 32, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 150, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 150, + "qualifiedName": "T", + "package": "@supabase/postgrest-js", + "name": "T" + } + ], + "qualifiedName": "PostgrestResponseSuccess", + "package": "@supabase/postgrest-js", + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "qualifiedName": "PostgrestResponseFailure", + "package": "@supabase/postgrest-js", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 151, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 38, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 152, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 152, + "qualifiedName": "T", + "package": "@supabase/postgrest-js", + "name": "T" + } + ], + "qualifiedName": "PostgrestSingleResponseSuccess", + "package": "@supabase/postgrest-js", + "name": "PostgrestSingleResponseSuccess" + }, + { + "type": "reference", + "qualifiedName": "PostgrestResponseFailure", + "package": "@supabase/postgrest-js", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 719, + "name": "Provider", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 2, + "character": 20 + } + ], + "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": 1150, + "name": "RealtimeClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 5, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1151, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1157, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1156, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1159, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1160, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 13, + "character": 14 + } + ], + "indexSignature": { + "id": 1161, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1162, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1154, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 8, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1155, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1163, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1164, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 16, + "character": 13 + } + ], + "indexSignature": { + "id": 1165, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1166, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1158, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1153, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1152, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 5, + "character": 30 + } + ] + } + } + }, + { + "id": 819, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 199, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 820, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 822, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 823, + "qualifiedName": "SignInWithOAuthOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithOAuthOptions" + } + }, + { + "id": 821, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 719, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [822, 821] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 199, + "character": 49 + } + ] + } + } + }, + { + "id": 797, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 174, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 798, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 799, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 175, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 801, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 177, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 806, + "qualifiedName": "SignInWithPasswordOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 800, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 176, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [799, 801, 800] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 174, + "character": 52 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 802, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 805, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 181, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 806, + "qualifiedName": "SignInWithPasswordOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 804, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 180, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 803, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 179, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [805, 804, 803] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 178, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 808, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 186, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 809, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 810, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 187, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 811, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 188, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 815, + "qualifiedName": "SignInWithPasswordlessOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [810, 811] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 186, + "character": 56 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 812, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 814, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 191, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 815, + "qualifiedName": "SignInWithPasswordlessOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessOptions" + } + }, + { + "id": 813, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 190, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [814, 813] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 189, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 849, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 237, + "character": 20 + } + ], + "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" + } + ], + "qualifiedName": "PromisifyMethods", + "package": "@supabase/gotrue-js", + "name": "PromisifyMethods" + } + }, + { + "id": 830, + "name": "VerifyOTPParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 210, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 831, + "qualifiedName": "VerifyMobileOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyMobileOTPParams" + }, + { + "type": "reference", + "id": 836, + "qualifiedName": "VerifyEmailOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyEmailOTPParams" + } + ] + } + }, + { + "id": 2, + "name": "createClient", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 19, + "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": 107, + "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": 107, + "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": 79, + "typeArguments": [ + { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 161, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 857, + "name": "isAuthError", + "kind": 64, + "kindString": "Function", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/errors.d.ts", + "line": 5, + "character": 24 + } + ], + "signatures": [ + { + "id": 858, + "name": "isAuthError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 859, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 860, + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [747, 255, 759] + }, + { + "title": "Namespaces", + "kind": 4, + "children": [1360] + }, + { + "title": "Classes", + "kind": 128, + "children": [878, 860, 951, 1023, 999, 975, 904, 924, 256, 580, 1167, 1048, 1309, 161] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [766, 141, 113, 784, 843, 823, 806, 815, 776, 760, 790, 748, 836, 831] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 720, 721, 850, 842, 841, 734, 155, 153, 149, 151, 719, 1150, 819, 797, 808, 849, 830 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [2, 857] + } + ], + "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": 30, + "name": "fetchWithAuth", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 25, + "character": 13 + } + ], + "signatures": [ + { + "id": 31, + "name": "fetchWithAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 32, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 33, + "name": "getAccessToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 34, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 35, + "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": 36, + "name": "customFetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 38, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 39, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 40, + "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": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 42, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 43, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 44, + "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": {}, + "children": [ + { + "id": 29, + "name": "prototype", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 8291, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Headers", + "package": "typescript", + "name": "Headers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [29] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [30, 15, 26] + } + ], + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 45, + "name": "lib/helpers", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 51, + "name": "applySettingDefaults", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 18, + "character": 16 + } + ], + "signatures": [ + { + "id": 52, + "name": "applySettingDefaults", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 53, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 54, + "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": 53, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 53, + "name": "Database" + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 55, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 79, + "typeArguments": [ + { + "type": "reference", + "id": 54, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + }, + { + "id": 56, + "name": "defaults", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 79, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 79, + "typeArguments": [ + { + "type": "reference", + "id": 54, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ] + }, + { + "id": 57, + "name": "isBrowser", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 16, + "character": 13 + } + ], + "signatures": [ + { + "id": 58, + "name": "isBrowser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 48, + "name": "stripTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 49, + "name": "stripTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 50, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 46, + "name": "uuid", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 4, + "character": 16 + } + ], + "signatures": [ + { + "id": 47, + "name": "uuid", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [51, 57, 48, 46] + } + ], + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 2, + "character": 0 + } + ] + }, + { + "id": 59, + "name": "lib/types", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 60, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 68, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 48, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.autoRefreshToken" + } + }, + { + "id": 72, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 784, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.cookieOptions" + } + }, + { + "id": 67, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 47, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.detectSessionInUrl" + } + }, + { + "id": 73, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 53, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 74, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 75, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 76, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 77, + "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" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.fetch" + } + }, + { + "id": 62, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 43, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 63, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 64, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 65, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.headers" + } + }, + { + "id": 71, + "name": "multiTab", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.multiTab" + } + }, + { + "id": 69, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.persistSession" + } + }, + { + "id": 70, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 50, + "character": 8 + } + ], + "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" + } + ], + "qualifiedName": "PromisifyMethods", + "package": "@supabase/gotrue-js", + "name": "PromisifyMethods" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.storage" + } + }, + { + "id": 66, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 46, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.storageKey" + } + }, + { + "id": 61, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 42, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [68, 72, 67, 73, 62, 71, 69, 70, 66, 61] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "GoTrueClientOptions" + } + ] + }, + { + "id": 78, + "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": 103, + "name": "GenericFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 104, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 105, + "name": "Args", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 106, + "name": "Returns", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 68, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [105, 106] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 30 + } + ] + } + } + }, + { + "id": 107, + "name": "GenericSchema", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 108, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 110, + "name": "Functions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 103, + "name": "GenericFunction" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 109, + "name": "Tables", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 98, + "name": "GenericTable" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [110, 109] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 28 + } + ] + } + } + }, + { + "id": 98, + "name": "GenericTable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 99, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 101, + "name": "Insert", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 100, + "name": "Row", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 102, + "name": "Update", + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [101, 100, 102] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 27 + } + ] + } + } + }, + { + "id": 79, + "name": "SupabaseClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 97, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 80, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 84, + "name": "auth", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 85, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 86, + "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": 91, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Options passed to the gotrue-js instance" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "cookieOptions" + }, + "objectType": { + "type": "reference", + "id": 60, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 89, + "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": 88, + "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": 90, + "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": 60, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 87, + "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": [86, 91, 89, 88, 90, 87] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 9 + } + ] + } + } + }, + { + "id": 81, + "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": 82, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 83, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 97, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [83] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 7 + } + ] + } + } + }, + { + "id": 93, + "name": "global", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 95, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom `fetch` implementation." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 78, + "name": "Fetch" + } + }, + { + "id": 96, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional headers for initializing the client." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "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": [95, 96] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 11 + } + ] + } + } + }, + { + "id": 92, + "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": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1150, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "RealtimeClientOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [84, 81, 93, 92] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 48 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [60] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [78, 103, 107, 98, 79] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 111, + "name": "lib/version", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 112, + "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": [112] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [1, 10, 14, 45, 59, 111] + } + ] +} diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json index 5ce7bfcf504..100763c4c21 100644 --- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json @@ -574,30 +574,8 @@ "title": "Enumeration Members", "kind": 16, "children": [ - 1362, - 1363, - 1364, - 1365, - 1366, - 1367, - 1368, - 1369, - 1370, - 1371, - 1372, - 1373, - 1374, - 1375, - 1376, - 1377, - 1378, - 1379, - 1380, - 1381, - 1382, - 1383, - 1384, - 1385 + 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, + 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385 ] } ], @@ -812,9 +790,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1392 - ] + "children": [1392] } ] } @@ -1241,23 +1217,12 @@ { "title": "Enumerations", "kind": 8, - "children": [ - 1361 - ] + "children": [1361] }, { "title": "Functions", "kind": 64, - "children": [ - 1399, - 1386, - 1393, - 1412, - 1403, - 1409, - 1406, - 1416 - ] + "children": [1399, 1386, 1393, 1412, 1403, 1409, 1406, 1416] } ], "sources": [ @@ -1691,11 +1656,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 898, - 897, - 899 - ] + "children": [898, 897, 899] } ] } @@ -1777,30 +1738,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 889 - ] + "children": [889] }, { "title": "Properties", "kind": 1024, - "children": [ - 900, - 902, - 901, - 903, - 893, - 883, - 888 - ] + "children": [900, 902, 901, 903, 893, 883, 888] }, { "title": "Methods", "kind": 2048, - "children": [ - 894, - 879 - ] + "children": [894, 879] } ], "sources": [ @@ -2170,28 +2118,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 871 - ] + "children": [871] }, { "title": "Properties", "kind": 1024, - "children": [ - 874, - 876, - 875, - 877, - 865, - 870 - ] + "children": [874, 876, 875, 877, 865, 870] }, { "title": "Methods", "kind": 2048, - "children": [ - 861 - ] + "children": [861] } ], "sources": [ @@ -2627,11 +2564,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 970, - 969, - 971 - ] + "children": [970, 969, 971] } ] } @@ -2723,30 +2656,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 962 - ] + "children": [962] }, { "title": "Properties", "kind": 1024, - "children": [ - 972, - 973, - 964, - 974, - 965, - 956, - 961 - ] + "children": [972, 973, 964, 974, 965, 956, 961] }, { "title": "Methods", "kind": 2048, - "children": [ - 966, - 952 - ] + "children": [966, 952] } ], "sources": [ @@ -3181,11 +3101,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1043, - 1042, - 1044 - ] + "children": [1043, 1042, 1044] } ] } @@ -3277,30 +3193,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1034 - ] + "children": [1034] }, { "title": "Properties", "kind": 1024, - "children": [ - 1045, - 1046, - 1037, - 1047, - 1038, - 1028, - 1033 - ] + "children": [1045, 1046, 1037, 1047, 1038, 1028, 1033] }, { "title": "Methods", "kind": 2048, - "children": [ - 1039, - 1024 - ] + "children": [1039, 1024] } ], "sources": [ @@ -3720,11 +3623,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1018, - 1017, - 1019 - ] + "children": [1018, 1017, 1019] } ] } @@ -3816,30 +3715,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1010 - ] + "children": [1010] }, { "title": "Properties", "kind": 1024, - "children": [ - 1020, - 1021, - 1012, - 1022, - 1013, - 1004, - 1009 - ] + "children": [1020, 1021, 1012, 1022, 1013, 1004, 1009] }, { "title": "Methods", "kind": 2048, - "children": [ - 1014, - 1000 - ] + "children": [1014, 1000] } ], "sources": [ @@ -4259,11 +4145,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 994, - 993, - 995 - ] + "children": [994, 993, 995] } ] } @@ -4355,30 +4237,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 986 - ] + "children": [986] }, { "title": "Properties", "kind": 1024, - "children": [ - 996, - 997, - 988, - 998, - 989, - 980, - 985 - ] + "children": [996, 997, 988, 998, 989, 980, 985] }, { "title": "Methods", "kind": 2048, - "children": [ - 990, - 976 - ] + "children": [990, 976] } ], "sources": [ @@ -4795,29 +4664,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 915 - ] + "children": [915] }, { "title": "Properties", "kind": 1024, - "children": [ - 920, - 922, - 921, - 919, - 923, - 909, - 914 - ] + "children": [920, 922, 921, 919, 923, 909, 914] }, { "title": "Methods", "kind": 2048, - "children": [ - 905 - ] + "children": [905] } ], "sources": [ @@ -5273,11 +5130,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 946, - 945, - 947 - ] + "children": [946, 945, 947] } ] } @@ -5359,30 +5212,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 935 - ] + "children": [935] }, { "title": "Properties", "kind": 1024, - "children": [ - 948, - 949, - 940, - 950, - 941, - 929, - 934 - ] + "children": [948, 949, 940, 950, 941, 929, 934] }, { "title": "Methods", "kind": 2048, - "children": [ - 942, - 925 - ] + "children": [942, 925] } ], "sources": [ @@ -5669,12 +5509,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 266, - 267, - 262, - 261 - ] + "children": [266, 267, 262, 261] } ] } @@ -6236,17 +6071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -6357,11 +6182,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 505, - 506, - 504 - ] + "children": [505, 506, 504] } ] } @@ -6445,11 +6266,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 509, - 510, - 508 - ] + "children": [509, 510, 508] } ] } @@ -6569,9 +6386,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 477 - ] + "children": [477] } ] } @@ -6696,10 +6511,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 557, - 556 - ] + "children": [557, 556] } ] } @@ -6763,10 +6575,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 560, - 559 - ] + "children": [560, 559] } ] } @@ -6955,11 +6764,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 489, - 488, - 490 - ] + "children": [489, 488, 490] } ] } @@ -7031,10 +6836,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 492, - 493 - ] + "children": [492, 493] } ] } @@ -7098,10 +6900,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 495, - 496 - ] + "children": [495, 496] } ] } @@ -7165,10 +6964,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 498, - 499 - ] + "children": [498, 499] } ] } @@ -7515,11 +7311,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 292, - 290, - 291 - ] + "children": [292, 290, 291] } ] } @@ -7644,10 +7436,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 566, - 565 - ] + "children": [566, 565] } ] } @@ -7711,10 +7500,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 569, - 568 - ] + "children": [569, 568] } ] } @@ -7920,12 +7706,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 535, - 536, - 533, - 534 - ] + "children": [535, 536, 533, 534] } ] } @@ -8062,12 +7843,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 540, - 541, - 538, - 539 - ] + "children": [540, 541, 538, 539] } ] } @@ -8192,10 +7968,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 524, - 523 - ] + "children": [524, 523] } ] } @@ -8259,10 +8032,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 527, - 526 - ] + "children": [527, 526] } ] } @@ -8394,10 +8164,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 437, - 436 - ] + "children": [437, 436] } ] } @@ -8469,10 +8236,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 440, - 439 - ] + "children": [440, 439] } ] } @@ -8536,10 +8300,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 443, - 442 - ] + "children": [443, 442] } ] } @@ -8650,10 +8411,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 515, - 514 - ] + "children": [515, 514] } ] } @@ -8717,10 +8475,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 518, - 517 - ] + "children": [518, 517] } ] } @@ -8845,10 +8600,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 463, - 462 - ] + "children": [463, 462] } ] } @@ -8912,10 +8664,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 466, - 465 - ] + "children": [466, 465] } ] } @@ -9044,10 +8793,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 450, - 449 - ] + "children": [450, 449] } ] } @@ -9124,10 +8870,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 452, - 454 - ] + "children": [452, 454] } ] } @@ -9191,10 +8934,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 456, - 457 - ] + "children": [456, 457] } ] } @@ -9347,11 +9087,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 373, - 372, - 371 - ] + "children": [373, 372, 371] } ] } @@ -9428,10 +9164,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 375, - 377 - ] + "children": [375, 377] } ] } @@ -9495,10 +9228,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 379, - 380 - ] + "children": [379, 380] } ] } @@ -9627,10 +9357,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 387, - 386 - ] + "children": [387, 386] } ] } @@ -9707,10 +9434,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 389, - 391 - ] + "children": [389, 391] } ] } @@ -9774,10 +9498,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 393, - 394 - ] + "children": [393, 394] } ] } @@ -9966,9 +9687,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 320 - ] + "children": [320] } ] } @@ -10040,10 +9759,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 322, - 323 - ] + "children": [322, 323] } ] } @@ -10107,10 +9823,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 325, - 326 - ] + "children": [325, 326] } ] } @@ -10287,13 +10000,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 847, - 844, - 848, - 845, - 846 - ] + "children": [847, 844, 848, 845, 846] } ], "sources": [ @@ -10372,10 +10079,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 362, - 361 - ] + "children": [362, 361] } ] } @@ -10439,10 +10143,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 365, - 364 - ] + "children": [365, 364] } ] } @@ -10566,9 +10267,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 350 - ] + "children": [350] } ] } @@ -10640,10 +10339,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 353, - 352 - ] + "children": [353, 352] } ] } @@ -10707,10 +10403,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 356, - 355 - ] + "children": [356, 355] } ] } @@ -10821,9 +10514,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 399 - ] + "children": [399] } ] } @@ -10991,11 +10682,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 304, - 303, - 302 - ] + "children": [304, 303, 302] } ] } @@ -11067,10 +10754,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 306, - 307 - ] + "children": [306, 307] } ] } @@ -11134,10 +10818,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 309, - 310 - ] + "children": [309, 310] } ] } @@ -11201,10 +10882,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 312, - 313 - ] + "children": [312, 313] } ] } @@ -11349,10 +11027,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 334, - 333 - ] + "children": [334, 333] } ] } @@ -11424,10 +11099,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 336, - 337 - ] + "children": [336, 337] } ] } @@ -11491,10 +11163,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 339, - 340 - ] + "children": [339, 340] } ] } @@ -11558,10 +11227,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 342, - 343 - ] + "children": [342, 343] } ] } @@ -11771,13 +11437,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -11863,10 +11523,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 576, - 575 - ] + "children": [576, 575] } ] } @@ -11930,10 +11587,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 579, - 578 - ] + "children": [579, 578] } ] } @@ -12265,17 +11919,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -12363,10 +12007,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 548, - 547 - ] + "children": [548, 547] } ] } @@ -12430,10 +12071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 551, - 550 - ] + "children": [551, 550] } ] } @@ -12562,9 +12200,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 406 - ] + "children": [406] } ] } @@ -12636,10 +12272,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 408, - 409 - ] + "children": [408, 409] } ] } @@ -12703,10 +12336,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 411, - 412 - ] + "children": [411, 412] } ] } @@ -12770,10 +12400,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 414, - 415 - ] + "children": [414, 415] } ] } @@ -12916,9 +12543,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 421 - ] + "children": [421] } ] } @@ -12990,10 +12615,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 423, - 424 - ] + "children": [423, 424] } ] } @@ -13057,10 +12679,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 426, - 427 - ] + "children": [426, 427] } ] } @@ -13124,10 +12743,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 429, - 430 - ] + "children": [429, 430] } ] } @@ -13147,52 +12763,19 @@ { "title": "Constructors", "kind": 512, - "children": [ - 257 - ] + "children": [257] }, { "title": "Properties", "kind": 1024, - "children": [ - 283, - 284, - 277, - 278, - 273, - 272 - ] + "children": [283, 284, 277, 278, 273, 272] }, { "title": "Methods", "kind": 2048, "children": [ - 500, - 471, - 552, - 482, - 478, - 285, - 561, - 528, - 519, - 431, - 511, - 458, - 444, - 366, - 381, - 467, - 314, - 357, - 344, - 395, - 296, - 327, - 570, - 542, - 400, - 416 + 500, 471, 552, 482, 478, 285, 561, 528, 519, 431, 511, 458, 444, 366, 381, 467, 314, + 357, 344, 395, 296, 327, 570, 542, 400, 416 ] } ], @@ -13639,18 +13222,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 592, - 596, - 591, - 597, - 586, - 595, - 593, - 594, - 590, - 585 - ] + "children": [592, 596, 591, 597, 586, 595, 593, 594, 590, 585] } ] } @@ -14354,10 +13926,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 639, - 638 - ] + "children": [639, 638] } ] } @@ -14421,10 +13990,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 642, - 641 - ] + "children": [642, 641] } ] } @@ -14485,10 +14051,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 645, - 644 - ] + "children": [645, 644] } ] } @@ -14580,9 +14143,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 682 - ] + "children": [682] } ] } @@ -14654,10 +14215,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 685, - 684 - ] + "children": [685, 684] } ] } @@ -14721,10 +14279,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 688, - 687 - ] + "children": [688, 687] } ] } @@ -14831,10 +14386,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 650, - 649 - ] + "children": [650, 649] } ] } @@ -14898,10 +14450,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 653, - 652 - ] + "children": [653, 652] } ] } @@ -14962,10 +14511,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 656, - 655 - ] + "children": [656, 655] } ] } @@ -15151,10 +14697,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 702, - 701 - ] + "children": [702, 701] } ] } @@ -15218,10 +14761,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 705, - 704 - ] + "children": [705, 704] } ] } @@ -15341,10 +14881,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 671, - 670 - ] + "children": [671, 670] } ] } @@ -15405,10 +14942,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 674, - 673 - ] + "children": [674, 673] } ] } @@ -15472,10 +15006,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 677, - 676 - ] + "children": [677, 676] } ] } @@ -15610,10 +15141,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 822, - 821 - ] + "children": [822, 821] } ], "sources": [ @@ -15767,10 +15295,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 810, - 811 - ] + "children": [810, 811] } ], "sources": [ @@ -15842,10 +15367,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 814, - 813 - ] + "children": [814, 813] } ], "sources": [ @@ -16021,11 +15543,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 799, - 801, - 800 - ] + "children": [799, 801, 800] } ], "sources": [ @@ -16117,11 +15635,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 805, - 804, - 803 - ] + "children": [805, 804, 803] } ], "sources": [ @@ -16236,9 +15750,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 692 - ] + "children": [692] } ] } @@ -16442,14 +15954,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 791, - 796, - 793, - 792, - 795, - 794 - ] + "children": [791, 796, 793, 792, 795, 794] } ], "sources": [ @@ -16556,11 +16061,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 619, - 618, - 617 - ] + "children": [619, 618, 617] } ] } @@ -16761,13 +16262,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -16853,10 +16348,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 662, - 661 - ] + "children": [662, 661] } ] } @@ -16920,10 +16412,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 665, - 664 - ] + "children": [665, 664] } ] } @@ -17066,9 +16555,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 634 - ] + "children": [634] } ] } @@ -17098,56 +16585,20 @@ { "title": "Constructors", "kind": 512, - "children": [ - 581 - ] + "children": [581] }, { "title": "Properties", "kind": 1024, "children": [ - 712, - 706, - 707, - 710, - 708, - 709, - 718, - 713, - 715, - 711, - 716, - 714, - 717, - 602, - 605, - 604, - 610, - 606, - 609, - 611, - 608, - 607, - 603 + 712, 706, 707, 710, 708, 709, 718, 713, 715, 711, 716, 714, 717, 602, 605, 604, 610, + 606, 609, 611, 608, 607, 603 ] }, { "title": "Methods", "kind": 2048, - "children": [ - 635, - 678, - 646, - 693, - 666, - 623, - 626, - 620, - 689, - 612, - 657, - 629 - ] + "children": [635, 678, 646, 693, 666, 623, 626, 620, 689, 612, 657, 629] } ], "sources": [ @@ -17650,14 +17101,7 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, + 1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152 ] } @@ -18438,12 +17882,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -19088,9 +18527,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -19394,58 +18831,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, + 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, + 1240, 1232, 1226, 1229, 1277, 1208, 1249, 1287, + 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } ], @@ -19574,58 +18976,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, + 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, + 1240, 1232, 1226, 1229, 1277, 1208, 1249, 1287, + 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } ], @@ -19734,67 +19101,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, 1054, 1075, 1073, + 1072, 1055, 1056, 1066, 1067, 1071, 1060, 1068, 1074, 1070, 1069, + 1076, 1077, 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, 1097, 1135, 1105, + 1128, 1108, 1111, 1102, 1125, 1118, 1095, 1092, 1137 ] } ], @@ -20009,12 +19332,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -21316,9 +20634,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -21966,58 +21282,21 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, 1229, 1277, 1208, + 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, 1274, 1220, 1268 ] } ], @@ -22411,17 +21690,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 - ] + "children": [1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152] } ], "sources": [ @@ -23200,12 +22469,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -23850,9 +23114,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -24265,67 +23527,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -24540,12 +23760,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -25847,9 +25062,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -26497,58 +25710,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, + 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, + 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, + 1274, 1220, 1268 ] } ], @@ -26786,67 +25964,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -27061,12 +26197,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -28368,9 +27499,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -29018,58 +28147,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, + 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, + 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, + 1274, 1220, 1268 ] } ], @@ -29178,67 +28272,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, 1054, 1075, 1073, 1072, 1055, 1056, + 1066, 1067, 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, 1097, 1135, 1105, 1128, 1108, 1111, + 1102, 1125, 1118, 1095, 1092, 1137 ] } ], @@ -29796,15 +28845,8 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, 1155, + 1163, 1158, 1153, 1152 ] } ], @@ -30584,12 +29626,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -31234,9 +30271,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -31730,67 +30765,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -32005,12 +30998,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -33312,9 +32300,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -33962,58 +32948,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, + 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, + 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, + 1274, 1220, 1268 ] } ], @@ -34163,17 +33114,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1340, - 1341 - ] + "children": [1340, 1341] }, { "title": "Methods", "kind": 2048, - "children": [ - 1342 - ] + "children": [1342] } ] } @@ -34951,37 +33897,17 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1330 - ] + "children": [1330] }, { "title": "Properties", "kind": 1024, - "children": [ - 1338, - 1334, - 1359, - 1337, - 1336, - 1335, - 1329, - 1327, - 1328 - ] + "children": [1338, 1334, 1359, 1337, 1336, 1335, 1329, 1327, 1328] }, { "title": "Methods", "kind": 2048, - "children": [ - 1355, - 1344, - 1347, - 1350, - 1322, - 1316, - 1310 - ] + "children": [1355, 1344, 1347, 1350, 1322, 1316, 1310] } ], "sources": [ @@ -35398,14 +34324,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -35471,9 +34390,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -35574,10 +34491,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -35621,12 +34535,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -36655,17 +35564,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 - ] + "children": [1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152] } ], "sources": [ @@ -37112,18 +36011,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 68, - 72, - 67, - 73, - 62, - 71, - 69, - 70, - 66, - 61 - ] + "children": [68, 72, 67, 73, 62, 71, 69, 70, 66, 61] } ], "sources": [ @@ -37329,10 +36217,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 243, - 242 - ] + "children": [243, 242] } ] } @@ -37394,10 +36279,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 246, - 245 - ] + "children": [246, 245] } ] } @@ -38235,15 +37117,8 @@ "title": "Properties", "kind": 1024, "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 + 1157, 1156, 1159, 1154, 1155, + 1163, 1158, 1153, 1152 ] } ], @@ -39023,12 +37898,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1081, - 1082, - 1083, - 1080 - ] + "children": [1081, 1082, 1083, 1080] } ] } @@ -39673,9 +38543,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1132 - ] + "children": [1132] } ] } @@ -40169,67 +39037,25 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1049 - ] + "children": [1049] }, { "title": "Properties", "kind": 1024, "children": [ - 1147, - 1148, - 1144, - 1145, - 1143, - 1149, - 1146, - 1053, - 1054, - 1075, - 1073, - 1072, - 1055, - 1056, - 1066, - 1067, - 1071, - 1060, - 1068, - 1074, - 1070, - 1069, - 1076, - 1077, - 1078, - 1064, - 1065 + 1147, 1148, 1144, 1145, 1143, 1149, 1146, 1053, + 1054, 1075, 1073, 1072, 1055, 1056, 1066, 1067, + 1071, 1060, 1068, 1074, 1070, 1069, 1076, 1077, + 1078, 1064, 1065 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1121, - 1084, - 1114, - 1086, - 1133, - 1090, - 1116, - 1140, - 1097, - 1135, - 1105, - 1128, - 1108, - 1111, - 1102, - 1125, - 1118, - 1095, - 1092, - 1137 + 1121, 1084, 1114, 1086, 1133, 1090, 1116, 1140, + 1097, 1135, 1105, 1128, 1108, 1111, 1102, 1125, + 1118, 1095, 1092, 1137 ] } ], @@ -40444,12 +39270,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1193, - 1189, - 1194, - 1188 - ] + "children": [1193, 1189, 1194, 1188] } ], "sources": [ @@ -41751,9 +40572,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1261 - ] + "children": [1261] } ], "indexSignature": { @@ -42401,58 +41220,23 @@ { "title": "Constructors", "kind": 512, - "children": [ - 1169 - ] + "children": [1169] }, { "title": "Properties", "kind": 1024, "children": [ - 1183, - 1308, - 1198, - 1197, - 1178, - 1201, - 1200, - 1199, - 1182, - 1196, - 1195, - 1177, - 1168 + 1183, 1308, 1198, 1197, 1178, 1201, 1200, 1199, 1182, 1196, 1195, + 1177, 1168 ] }, { "title": "Methods", "kind": 2048, "children": [ - 1247, - 1298, - 1300, - 1302, - 1304, - 1306, - 1282, - 1285, - 1240, - 1232, - 1226, - 1229, - 1277, - 1208, - 1249, - 1287, - 1202, - 1295, - 1257, - 1204, - 1210, - 1290, - 1274, - 1220, - 1268 + 1247, 1298, 1300, 1302, 1304, 1306, 1282, 1285, 1240, 1232, 1226, + 1229, 1277, 1208, 1249, 1287, 1202, 1295, 1257, 1204, 1210, 1290, + 1274, 1220, 1268 ] } ], @@ -42655,10 +41439,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 210, - 209 - ] + "children": [210, 209] } ] } @@ -42771,53 +41552,22 @@ { "title": "Constructors", "kind": 512, - "children": [ - 162 - ] + "children": [162] }, { "title": "Properties", "kind": 1024, - "children": [ - 170, - 172, - 183, - 178, - 174, - 184, - 175, - 171, - 176, - 177, - 173, - 189, - 188 - ] + "children": [170, 172, 183, 178, 174, 184, 175, 171, 176, 177, 173, 189, 188] }, { "title": "Accessors", "kind": 262144, - "children": [ - 190, - 192 - ] + "children": [190, 192] }, { "title": "Methods", "kind": 2048, - "children": [ - 225, - 247, - 236, - 227, - 239, - 211, - 194, - 218, - 223, - 220, - 201 - ] + "children": [225, 247, 236, 227, 239, 211, 194, 218, 223, 220, 201] } ], "sources": [ @@ -43213,17 +41963,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 768, - 775, - 771, - 774, - 769, - 773, - 772, - 770, - 767 - ] + "children": [768, 775, 771, 774, 769, 773, 772, 770, 767] } ], "sources": [ @@ -43418,15 +42158,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 143, - 145, - 144, - 142, - 146, - 147, - 148 - ] + "children": [143, 145, 144, 142, 146, 147, 148] } ], "sources": [ @@ -43519,9 +42251,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 117 - ] + "children": [117] } ], "indexSignature": { @@ -43975,26 +42705,8 @@ "title": "Properties", "kind": 1024, "children": [ - 130, - 115, - 124, - 125, - 134, - 133, - 131, - 127, - 135, - 114, - 140, - 129, - 137, - 128, - 132, - 136, - 126, - 138, - 139, - 120 + 130, 115, 124, 125, 134, 133, 131, 127, 135, 114, 140, 129, 137, 128, 132, 136, 126, + 138, 139, 120 ] } ], @@ -44137,13 +42849,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 787, - 786, - 785, - 788, - 789 - ] + "children": [787, 786, 785, 788, 789] } ], "sources": [ @@ -44274,13 +42980,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 847, - 844, - 848, - 845, - 846 - ] + "children": [847, 844, 848, 845, 846] } ], "sources": [ @@ -44403,11 +43103,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 826, - 824, - 825 - ] + "children": [826, 824, 825] } ], "sources": [ @@ -44453,9 +43149,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 807 - ] + "children": [807] } ], "sources": [ @@ -44546,11 +43240,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 818, - 816, - 817 - ] + "children": [818, 816, 817] } ], "sources": [ @@ -44754,17 +43444,12 @@ { "title": "Properties", "kind": 1024, - "children": [ - 777 - ] + "children": [777] }, { "title": "Methods", "kind": 2048, - "children": [ - 778, - 782 - ] + "children": [778, 782] } ], "sources": [ @@ -44909,13 +43594,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 765, - 761, - 764, - 763, - 762 - ] + "children": [765, 761, 764, 763, 762] } ], "sources": [ @@ -45082,14 +43761,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 791, - 796, - 793, - 792, - 795, - 794 - ] + "children": [791, 796, 793, 792, 795, 794] } ], "sources": [ @@ -45290,15 +43962,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 756, - 749, - 751, - 757, - 755, - 758, - 750 - ] + "children": [756, 749, 751, 757, 755, 758, 750] } ], "sources": [ @@ -45407,12 +44071,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 837, - 838, - 839, - 840 - ] + "children": [837, 838, 839, 840] } ], "sources": [ @@ -45522,12 +44181,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 832, - 833, - 834, - 835 - ] + "children": [832, 833, 834, 835] } ], "sources": [ @@ -45707,10 +44361,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 726, - 725 - ] + "children": [726, 725] } ], "sources": [ @@ -45748,10 +44399,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 723, - 727 - ] + "children": [723, 727] } ], "sources": [ @@ -45845,10 +44493,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 732, - 731 - ] + "children": [732, 731] } ], "sources": [ @@ -45889,10 +44534,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 729, - 733 - ] + "children": [729, 733] } ], "sources": [ @@ -45984,10 +44626,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 853, - 852 - ] + "children": [853, 852] } ], "sources": [ @@ -46058,10 +44697,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 856, - 855 - ] + "children": [856, 855] } ], "sources": [ @@ -46249,10 +44885,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 738, - 739 - ] + "children": [738, 739] } ], "sources": [ @@ -46290,10 +44923,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 736, - 740 - ] + "children": [736, 740] } ], "sources": [ @@ -46390,10 +45020,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 744, - 745 - ] + "children": [744, 745] } ], "sources": [ @@ -46434,10 +45061,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 742, - 746 - ] + "children": [742, 746] } ], "sources": [ @@ -46567,12 +45191,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 160, - 158, - 159, - 157 - ] + "children": [160, 158, 159, 157] } ], "sources": [ @@ -47142,17 +45761,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 1157, - 1156, - 1159, - 1154, - 1155, - 1163, - 1158, - 1153, - 1152 - ] + "children": [1157, 1156, 1159, 1154, 1155, 1163, 1158, 1153, 1152] } ], "sources": [ @@ -47243,10 +45852,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 822, - 821 - ] + "children": [822, 821] } ], "sources": [ @@ -47357,11 +45963,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 799, - 801, - 800 - ] + "children": [799, 801, 800] } ], "sources": [ @@ -47453,11 +46055,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 805, - 804, - 803 - ] + "children": [805, 804, 803] } ], "sources": [ @@ -47550,10 +46148,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 810, - 811 - ] + "children": [810, 811] } ], "sources": [ @@ -47625,10 +46220,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 814, - 813 - ] + "children": [814, 813] } ], "sources": [ @@ -48122,14 +46714,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -48195,9 +46780,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -48298,10 +46881,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -48345,12 +46925,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -48450,89 +47025,34 @@ { "title": "References", "kind": 16777216, - "children": [ - 747, - 255, - 759 - ] + "children": [747, 255, 759] }, { "title": "Namespaces", "kind": 4, - "children": [ - 1360 - ] + "children": [1360] }, { "title": "Classes", "kind": 128, - "children": [ - 878, - 860, - 951, - 1023, - 999, - 975, - 904, - 924, - 256, - 580, - 1167, - 1048, - 1309, - 161 - ] + "children": [878, 860, 951, 1023, 999, 975, 904, 924, 256, 580, 1167, 1048, 1309, 161] }, { "title": "Interfaces", "kind": 256, - "children": [ - 766, - 141, - 113, - 784, - 843, - 823, - 806, - 815, - 776, - 760, - 790, - 748, - 836, - 831 - ] + "children": [766, 141, 113, 784, 843, 823, 806, 815, 776, 760, 790, 748, 836, 831] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 720, - 721, - 850, - 842, - 841, - 734, - 155, - 153, - 149, - 151, - 719, - 1150, - 819, - 797, - 808, - 849, - 830 + 720, 721, 850, 842, 841, 734, 155, 153, 149, 151, 719, 1150, 819, 797, 808, 849, 830 ] }, { "title": "Functions", "kind": 64, - "children": [ - 2, - 857 - ] + "children": [2, 857] } ], "sources": [ @@ -48598,9 +47118,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 13 - ] + "children": [13] } ] } @@ -48612,9 +47130,7 @@ { "title": "Variables", "kind": 32, - "children": [ - 11 - ] + "children": [11] } ], "sources": [ @@ -49066,9 +47582,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 29 - ] + "children": [29] } ] } @@ -49081,11 +47595,7 @@ { "title": "Functions", "kind": 64, - "children": [ - 30, - 15, - 26 - ] + "children": [30, 15, 26] } ], "sources": [ @@ -49417,14 +47927,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -49490,9 +47993,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -49593,10 +48094,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -49640,12 +48138,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -49890,14 +48383,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -49963,9 +48449,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -50066,10 +48550,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -50113,12 +48594,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -50248,12 +48724,7 @@ { "title": "Functions", "kind": 64, - "children": [ - 51, - 57, - 48, - 46 - ] + "children": [51, 57, 48, 46] } ], "sources": [ @@ -50659,18 +49130,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 68, - 72, - 67, - 73, - 62, - 71, - 69, - 70, - 66, - 61 - ] + "children": [68, 72, 67, 73, 62, 71, 69, 70, 66, 61] } ], "sources": [ @@ -50786,10 +49246,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 105, - 106 - ] + "children": [105, 106] } ], "sources": [ @@ -50891,10 +49348,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 110, - 109 - ] + "children": [110, 109] } ], "sources": [ @@ -51024,11 +49478,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 101, - 100, - 102 - ] + "children": [101, 100, 102] } ], "sources": [ @@ -51255,14 +49705,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 86, - 91, - 89, - 88, - 90, - 87 - ] + "children": [86, 91, 89, 88, 90, 87] } ], "sources": [ @@ -51328,9 +49771,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 83 - ] + "children": [83] } ], "sources": [ @@ -51431,10 +49872,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 95, - 96 - ] + "children": [95, 96] } ], "sources": [ @@ -51478,12 +49916,7 @@ { "title": "Properties", "kind": 1024, - "children": [ - 84, - 81, - 93, - 92 - ] + "children": [84, 81, 93, 92] } ], "sources": [ @@ -51501,20 +49934,12 @@ { "title": "Interfaces", "kind": 256, - "children": [ - 60 - ] + "children": [60] }, { "title": "Type Aliases", "kind": 4194304, - "children": [ - 78, - 103, - 107, - 98, - 79 - ] + "children": [78, 103, 107, 98, 79] } ], "sources": [ @@ -51558,9 +49983,7 @@ { "title": "Variables", "kind": 32, - "children": [ - 112 - ] + "children": [112] } ], "sources": [ @@ -51576,14 +49999,7 @@ { "title": "Modules", "kind": 2, - "children": [ - 1, - 10, - 14, - 45, - 59, - 111 - ] + "children": [1, 10, 14, 45, 59, 111] } ] -} \ No newline at end of file +} diff --git a/packages/generator/LegacyReferenceGenerator.ts b/spec/generator/LegacyReferenceGenerator.ts similarity index 100% rename from packages/generator/LegacyReferenceGenerator.ts rename to spec/generator/LegacyReferenceGenerator.ts diff --git a/packages/generator/index.ts b/spec/generator/index.ts similarity index 85% rename from packages/generator/index.ts rename to spec/generator/index.ts index aaa81eaf322..4c03b2a4848 100644 --- a/packages/generator/index.ts +++ b/spec/generator/index.ts @@ -10,10 +10,6 @@ main(argv['_'], argv) function handleInput(command: string, options: any) { switch (command) { - case 'validate': - console.log('Not yet implemented') - break - case 'gen': DocGenerator(options) break diff --git a/packages/generator/package-lock.json b/spec/generator/package-lock.json similarity index 100% rename from packages/generator/package-lock.json rename to spec/generator/package-lock.json diff --git a/packages/generator/package.json b/spec/generator/package.json similarity index 59% rename from packages/generator/package.json rename to spec/generator/package.json index 9730e918d43..b205ad78bb0 100644 --- a/packages/generator/package.json +++ b/spec/generator/package.json @@ -6,31 +6,31 @@ "license": "MIT", "scripts": { "api:gen": "npm-run-all api:gen:api", - "api:gen:api": "ts-node ./index.ts gen --type api --url https://api.supabase.com --input ../../spec/transforms/api_v0_openapi_deparsed.json --output ../../apps/reference/_api/usage.mdx", + "api:gen:api": "ts-node ./index.ts gen --type api --url https://api.supabase.com --input ../transforms/api_v0_openapi_deparsed.json --output ../../apps/reference/_api/usage.mdx", "cli:gen": "npm-run-all cli:gen:commands cli:gen:config", - "cli:gen:commands": "ts-node ./index.ts gen --type cli --input ../../spec/cli_v1_commands.yaml --output ../../apps/reference/_cli/generated/usage.mdx ", - "cli:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/cli_v1_config.yaml --output ../../apps/reference/_cli/generated/config.mdx", + "cli:gen:commands": "ts-node ./index.ts gen --type cli --input ../cli_v1_commands.yaml --output ../../apps/reference/_cli/generated/usage.mdx ", + "cli:gen:config": "ts-node ./index.ts gen --type config --input ../cli_v1_config.yaml --output ../../apps/reference/_cli/generated/config.mdx", "gotrue:gen": "npm-run-all gotrue:gen:config", - "gotrue:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/gotrue_v1_config.yaml --output ../../apps/reference/_gotrue/config.mdx", + "gotrue:gen:config": "ts-node ./index.ts gen --type config --input ../gotrue_v1_config.yaml --output ../../apps/reference/_gotrue/config.mdx", "storage:gen": "npm-run-all storage:gen:api storage:gen:config", - "storage:gen:api": "ts-node ./index.ts gen --type api --input ../../spec/transforms/storage_v0_openapi_deparsed.json --output ../../apps/reference/_storage/generated/usage.mdx", - "storage:gen:config": "ts-node ./index.ts gen --type config --input ../../spec/storage_v1_config.yaml --output ../../apps/reference/_storage/generated/config.mdx", + "storage:gen:api": "ts-node ./index.ts gen --type api --input ../transforms/storage_v0_openapi_deparsed.json --output ../../apps/reference/_storage/generated/usage.mdx", + "storage:gen:config": "ts-node ./index.ts gen --type config --input ../storage_v1_config.yaml --output ../../apps/reference/_storage/generated/config.mdx", "supabase-dart:format": "prettier --write ../../apps/reference/_supabase_dart/**/*.mdx", "supabase-dart:v1": "npm-run-all supabase-dart:v1:ref supabase-dart:v1:olddocs supabase-dart:format", - "supabase-dart:v1:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_dart/generated ../../spec/supabase_dart_v1_legacy.yml", - "supabase-dart:v1:olddocs": "ts-node ./LegacyReferenceGenerator.ts -o ../../web/docs/reference/dart ../../spec/supabase_dart_v1_legacy.yml", + "supabase-dart:v1:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_dart/generated ../supabase_dart_v1_legacy.yml", + "supabase-dart:v1:olddocs": "ts-node ./LegacyReferenceGenerator.ts -o ../../web/docs/reference/dart ../supabase_dart_v1_legacy.yml", "supabase-js:format": "prettier --write ../../apps/reference/_supabase_js/**/*.mdx && prettier --write ../../apps/reference/_supabase_js_versioned_docs/**/*.mdx", "supabase-js:v1": "npm-run-all supabase-js:v1:ref supabase-js:v1:olddocs supabase-js:format", - "supabase-js:v1:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_js_versioned_docs/version-v1 ../../spec/supabase_js_v1_legacy.yml", - "supabase-js:v1:olddocs": "ts-node ./LegacyReferenceGenerator.ts -o ../../web/docs/reference/javascript ../../spec/supabase_dart_v1_legacy.yml", + "supabase-js:v1:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_js_versioned_docs/version-v1 ../supabase_js_v1_legacy.yml", + "supabase-js:v1:olddocs": "ts-node ./LegacyReferenceGenerator.ts -o ../../web/docs/reference/javascript ../supabase_dart_v1_legacy.yml", "supabase-js:v2": "npm-run-all supabase-js:v2:ref supabase-js:format", - "supabase-js:v2:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_js/generated ../../spec/supabase_js_v2_legacy.yml", - "tsdoc:dereference:functions": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/functions.json --output ../../spec/enrichments/tsdoc_v2/functions_dereferenced.json", - "tsdoc:dereference:gotrue": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/gotrue.json --output ../../spec/enrichments/tsdoc_v2/gotrue_dereferenced.json", - "tsdoc:dereference:postgrest": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/postgrest.json --output ../../spec/enrichments/tsdoc_v2/postgrest_dereferenced.json", - "tsdoc:dereference:realtime": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/realtime.json --output ../../spec/enrichments/tsdoc_v2/realtime_dereferenced.json", - "tsdoc:dereference:storage": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/storage.json --output ../../spec/enrichments/tsdoc_v2/storage_dereferenced.json", - "tsdoc:dereference:supabase": "ts-node ./tsdoc.ts dereference --input ../../spec/enrichments/tsdoc_v2/supabase.json --output ../../spec/enrichments/tsdoc_v2/supabase_dereferenced.json" + "supabase-js:v2:ref": "ts-node ./LegacyReferenceGenerator.ts -o ../../apps/reference/_supabase_js/generated ../supabase_js_v2_legacy.yml", + "tsdoc:dereference:functions": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/functions.json --output ../enrichments/tsdoc_v2/functions_dereferenced.json", + "tsdoc:dereference:gotrue": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/gotrue.json --output ../enrichments/tsdoc_v2/gotrue_dereferenced.json", + "tsdoc:dereference:postgrest": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/postgrest.json --output ../enrichments/tsdoc_v2/postgrest_dereferenced.json", + "tsdoc:dereference:realtime": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/realtime.json --output ../enrichments/tsdoc_v2/realtime_dereferenced.json", + "tsdoc:dereference:storage": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/storage.json --output ../enrichments/tsdoc_v2/storage_dereferenced.json", + "tsdoc:dereference:supabase": "ts-node ./tsdoc.ts dereference --input ../enrichments/tsdoc_v2/supabase.json --output ../enrichments/tsdoc_v2/supabase_dereferenced.json" }, "devDependencies": { "@apidevtools/swagger-cli": "^4.0.4", diff --git a/packages/generator/src/docs/api.ts b/spec/generator/src/docs/api.ts similarity index 100% rename from packages/generator/src/docs/api.ts rename to spec/generator/src/docs/api.ts diff --git a/packages/generator/src/docs/cli.ts b/spec/generator/src/docs/cli.ts similarity index 100% rename from packages/generator/src/docs/cli.ts rename to spec/generator/src/docs/cli.ts diff --git a/packages/generator/src/docs/config.ts b/spec/generator/src/docs/config.ts similarity index 100% rename from packages/generator/src/docs/config.ts rename to spec/generator/src/docs/config.ts diff --git a/packages/generator/src/docs/helpers.ts b/spec/generator/src/docs/helpers.ts similarity index 100% rename from packages/generator/src/docs/helpers.ts rename to spec/generator/src/docs/helpers.ts diff --git a/packages/generator/src/docs/index.ts b/spec/generator/src/docs/index.ts similarity index 100% rename from packages/generator/src/docs/index.ts rename to spec/generator/src/docs/index.ts diff --git a/packages/generator/src/docs/sdk.ts b/spec/generator/src/docs/sdk.ts similarity index 100% rename from packages/generator/src/docs/sdk.ts rename to spec/generator/src/docs/sdk.ts diff --git a/packages/generator/src/docs/templates/ApiTemplate.ts b/spec/generator/src/docs/templates/ApiTemplate.ts similarity index 100% rename from packages/generator/src/docs/templates/ApiTemplate.ts rename to spec/generator/src/docs/templates/ApiTemplate.ts diff --git a/packages/generator/src/docs/templates/CliTemplate.ts b/spec/generator/src/docs/templates/CliTemplate.ts similarity index 100% rename from packages/generator/src/docs/templates/CliTemplate.ts rename to spec/generator/src/docs/templates/CliTemplate.ts diff --git a/packages/generator/src/docs/templates/ConfigTemplate.ts b/spec/generator/src/docs/templates/ConfigTemplate.ts similarity index 100% rename from packages/generator/src/docs/templates/ConfigTemplate.ts rename to spec/generator/src/docs/templates/ConfigTemplate.ts diff --git a/packages/generator/src/docs/templates/SdkTemplate.ts b/spec/generator/src/docs/templates/SdkTemplate.ts similarity index 100% rename from packages/generator/src/docs/templates/SdkTemplate.ts rename to spec/generator/src/docs/templates/SdkTemplate.ts diff --git a/spec/generator/src/legacy/components/Example.ts b/spec/generator/src/legacy/components/Example.ts new file mode 100644 index 00000000000..fe0105915b6 --- /dev/null +++ b/spec/generator/src/legacy/components/Example.ts @@ -0,0 +1,24 @@ +type params = { name: string; description: string; tabs: string; note: string } + +const Example = ({ name, description = '', tabs = '', note = '' }: params) => { + if (note !== '') { + const [noteTitle, ...noteText] = note.split('\n') + console.log(noteText) + note = ` +:::note ${noteTitle} + ${noteText.join('\n')} +::: +` + } + return ` +### ${name} + +${description} + +${tabs} + +${note} +`.trim() +} + +export default Example diff --git a/packages/generator/src/legacy/components/Page.ts b/spec/generator/src/legacy/components/Page.ts similarity index 100% rename from packages/generator/src/legacy/components/Page.ts rename to spec/generator/src/legacy/components/Page.ts diff --git a/packages/generator/src/legacy/components/Sidebar.ts b/spec/generator/src/legacy/components/Sidebar.ts similarity index 100% rename from packages/generator/src/legacy/components/Sidebar.ts rename to spec/generator/src/legacy/components/Sidebar.ts diff --git a/packages/generator/src/legacy/components/SidebarCategory.ts b/spec/generator/src/legacy/components/SidebarCategory.ts similarity index 100% rename from packages/generator/src/legacy/components/SidebarCategory.ts rename to spec/generator/src/legacy/components/SidebarCategory.ts diff --git a/packages/generator/src/legacy/components/Tab.ts b/spec/generator/src/legacy/components/Tab.ts similarity index 100% rename from packages/generator/src/legacy/components/Tab.ts rename to spec/generator/src/legacy/components/Tab.ts diff --git a/packages/generator/src/legacy/components/Tabs.ts b/spec/generator/src/legacy/components/Tabs.ts similarity index 100% rename from packages/generator/src/legacy/components/Tabs.ts rename to spec/generator/src/legacy/components/Tabs.ts diff --git a/packages/generator/src/legacy/definitions.ts b/spec/generator/src/legacy/definitions.ts similarity index 100% rename from packages/generator/src/legacy/definitions.ts rename to spec/generator/src/legacy/definitions.ts diff --git a/packages/generator/src/legacy/lib/helpers.ts b/spec/generator/src/legacy/lib/helpers.ts similarity index 100% rename from packages/generator/src/legacy/lib/helpers.ts rename to spec/generator/src/legacy/lib/helpers.ts diff --git a/packages/generator/src/types/CliSpec.ts b/spec/generator/src/types/CliSpec.ts similarity index 100% rename from packages/generator/src/types/CliSpec.ts rename to spec/generator/src/types/CliSpec.ts diff --git a/packages/generator/src/types/ConfigSpec.ts b/spec/generator/src/types/ConfigSpec.ts similarity index 100% rename from packages/generator/src/types/ConfigSpec.ts rename to spec/generator/src/types/ConfigSpec.ts diff --git a/packages/generator/src/types/SdkSpec.ts b/spec/generator/src/types/SdkSpec.ts similarity index 100% rename from packages/generator/src/types/SdkSpec.ts rename to spec/generator/src/types/SdkSpec.ts diff --git a/packages/generator/src/types/Spec.ts b/spec/generator/src/types/Spec.ts similarity index 100% rename from packages/generator/src/types/Spec.ts rename to spec/generator/src/types/Spec.ts diff --git a/packages/generator/tsconfig.json b/spec/generator/tsconfig.json similarity index 100% rename from packages/generator/tsconfig.json rename to spec/generator/tsconfig.json diff --git a/packages/generator/tsdoc.ts b/spec/generator/tsdoc.ts similarity index 100% rename from packages/generator/tsdoc.ts rename to spec/generator/tsdoc.ts diff --git a/spec/transforms/api_v0_openapi_deparsed.json b/spec/transforms/api_v0_openapi_deparsed.json index c1c3ea4c467..6f235c81dd1 100644 --- a/spec/transforms/api_v0_openapi_deparsed.json +++ b/spec/transforms/api_v0_openapi_deparsed.json @@ -33,22 +33,14 @@ "type": "string" } }, - "required": [ - "id", - "organization_id", - "name", - "region", - "created_at" - ] + "required": ["id", "organization_id", "name", "region", "created_at"] } } } } } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ { "bearer": [] @@ -77,10 +69,7 @@ }, "plan": { "type": "string", - "enum": [ - "free", - "pro" - ] + "enum": ["free", "pro"] }, "region": { "type": "string", @@ -98,15 +87,12 @@ "ap-south-1", "sa-east-1" ] + }, + "kps_enabled": { + "type": "boolean" } }, - "required": [ - "db_pass", - "name", - "organization_id", - "plan", - "region" - ] + "required": ["db_pass", "name", "organization_id", "plan", "region"] } } } @@ -135,21 +121,13 @@ "type": "string" } }, - "required": [ - "id", - "organization_id", - "name", - "region", - "created_at" - ] + "required": ["id", "organization_id", "name", "region", "created_at"] } } } } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ { "bearer": [] @@ -180,10 +158,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ] + "required": ["id", "name"] } } } @@ -193,9 +168,7 @@ "description": "Unexpected error listing organizations" } }, - "tags": [ - "organizations" - ], + "tags": ["organizations"], "security": [ { "bearer": [] @@ -217,9 +190,7 @@ "type": "string" } }, - "required": [ - "name" - ] + "required": ["name"] } } } @@ -239,10 +210,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ] + "required": ["id", "name"] } } } @@ -251,9 +219,7 @@ "description": "Unexpected error creating an organization" } }, - "tags": [ - "organizations" - ], + "tags": ["organizations"], "security": [ { "bearer": [] @@ -299,11 +265,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -333,14 +295,19 @@ } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to retrieve project's functions" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -372,7 +339,7 @@ "properties": { "slug": { "type": "string", - "pattern": {} + "pattern": "/^[A-Za-z0-9_-]+$/" }, "name": { "type": "string" @@ -384,11 +351,7 @@ "type": "boolean" } }, - "required": [ - "slug", - "name", - "body" - ] + "required": ["slug", "name", "body"] } } } @@ -411,11 +374,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -444,14 +403,19 @@ } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to create project's function" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -489,7 +453,7 @@ "in": "path", "description": "Function slug", "schema": { - "pattern": {}, + "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } @@ -512,11 +476,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -548,14 +508,19 @@ } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to retrieve function with given slug" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -583,7 +548,7 @@ "in": "path", "description": "Function slug", "schema": { - "pattern": {}, + "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } @@ -627,11 +592,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -660,14 +621,19 @@ } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to update function with given slug" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -695,7 +661,7 @@ "in": "path", "description": "Function slug", "schema": { - "pattern": {}, + "pattern": "/^[A-Za-z0-9_-]+$/", "type": "string" } } @@ -704,14 +670,19 @@ "200": { "description": "" }, + "403": { + "description": "" + }, "500": { "description": "Failed to delete function with given slug" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -753,23 +724,25 @@ "type": "string" } }, - "required": [ - "name", - "value" - ] + "required": ["name", "value"] } } } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to retrieve project's secrets" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -806,13 +779,10 @@ }, "value": { "type": "string", - "pattern": {} + "pattern": "/^(?!SUPABASE_).*/" } }, - "required": [ - "name", - "value" - ] + "required": ["name", "value"] } } } @@ -822,14 +792,19 @@ "201": { "description": "" }, + "403": { + "description": "" + }, "500": { "description": "Failed to create project's secrets" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -876,14 +851,19 @@ } } }, + "403": { + "description": "" + }, "500": { "description": "Failed to delete secrets with given names" } }, - "tags": [ - "projects" - ], + "tags": ["projects"], "security": [ + { + "apiKeyHeader": [], + "apiKeyParam": [] + }, { "bearer": [] } @@ -925,9 +905,7 @@ "description": "Failed to retrieve project's pgsodium config" } }, - "tags": [ - "pgsodium (beta)" - ], + "tags": ["pgsodium (beta)"], "security": [ { "bearer": [] @@ -961,9 +939,7 @@ "type": "string" } }, - "required": [ - "root_key" - ] + "required": ["root_key"] } } } @@ -986,9 +962,7 @@ "description": "Failed to update project's pgsodium config" } }, - "tags": [ - "pgsodium (beta)" - ], + "tags": ["pgsodium (beta)"], "security": [ { "bearer": [] @@ -1042,13 +1016,7 @@ "type": "string" } }, - "required": [ - "id", - "organization_id", - "name", - "region", - "created_at" - ] + "required": ["id", "organization_id", "name", "region", "created_at"] }, "CreateProjectBody": { "type": "object", @@ -1064,10 +1032,7 @@ }, "plan": { "type": "string", - "enum": [ - "free", - "pro" - ] + "enum": ["free", "pro"] }, "region": { "type": "string", @@ -1085,15 +1050,12 @@ "ap-south-1", "sa-east-1" ] + }, + "kps_enabled": { + "type": "boolean" } }, - "required": [ - "db_pass", - "name", - "organization_id", - "plan", - "region" - ] + "required": ["db_pass", "name", "organization_id", "plan", "region"] }, "OrganizationResponse": { "type": "object", @@ -1105,10 +1067,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ] + "required": ["id", "name"] }, "CreateOrganizationBody": { "type": "object", @@ -1117,9 +1076,7 @@ "type": "string" } }, - "required": [ - "name" - ] + "required": ["name"] }, "FunctionResponse": { "type": "object", @@ -1134,11 +1091,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -1154,22 +1107,14 @@ "type": "boolean" } }, - "required": [ - "id", - "slug", - "name", - "status", - "version", - "created_at", - "updated_at" - ] + "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"] }, "CreateFunctionBody": { "type": "object", "properties": { "slug": { "type": "string", - "pattern": {} + "pattern": "/^[A-Za-z0-9_-]+$/" }, "name": { "type": "string" @@ -1181,11 +1126,7 @@ "type": "boolean" } }, - "required": [ - "slug", - "name", - "body" - ] + "required": ["slug", "name", "body"] }, "FunctionSlugResponse": { "type": "object", @@ -1200,11 +1141,7 @@ "type": "string" }, "status": { - "enum": [ - "ACTIVE", - "REMOVED", - "THROTTLED" - ], + "enum": ["ACTIVE", "REMOVED", "THROTTLED"], "type": "string" }, "version": { @@ -1223,15 +1160,7 @@ "type": "string" } }, - "required": [ - "id", - "slug", - "name", - "status", - "version", - "created_at", - "updated_at" - ] + "required": ["id", "slug", "name", "status", "version", "created_at", "updated_at"] }, "UpdateFunctionBody": { "type": "object", @@ -1257,10 +1186,7 @@ "type": "string" } }, - "required": [ - "name", - "value" - ] + "required": ["name", "value"] }, "CreateSecretBody": { "type": "object", @@ -1270,13 +1196,10 @@ }, "value": { "type": "string", - "pattern": {} + "pattern": "/^(?!SUPABASE_).*/" } }, - "required": [ - "name", - "value" - ] + "required": ["name", "value"] }, "UpdatePgsodiumConfigBody": { "type": "object", @@ -1285,9 +1208,7 @@ "type": "string" } }, - "required": [ - "root_key" - ] + "required": ["root_key"] } } } diff --git a/spec/transforms/storage_v0_openapi_deparsed.json b/spec/transforms/storage_v0_openapi_deparsed.json index 9b0e008c5f1..f1981b7c5c8 100644 --- a/spec/transforms/storage_v0_openapi_deparsed.json +++ b/spec/transforms/storage_v0_openapi_deparsed.json @@ -15,9 +15,7 @@ "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs" } }, - "required": [ - "authorization" - ], + "required": ["authorization"], "title": "authSchema" }, "def-1": { @@ -33,11 +31,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -46,9 +40,7 @@ "/bucket/": { "post": { "summary": "Create a bucket", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "requestBody": { "content": { "application/json": { @@ -68,9 +60,7 @@ "example": false } }, - "required": [ - "name" - ] + "required": ["name"] } } }, @@ -101,9 +91,7 @@ "example": "avatars" } }, - "required": [ - "name" - ] + "required": ["name"] } } } @@ -126,11 +114,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -140,9 +124,7 @@ }, "get": { "summary": "Gets all buckets", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "parameters": [ { "in": "header", @@ -184,10 +166,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ], + "required": ["id", "name"], "additionalProperties": false, "title": "bucketSchema", "example": { @@ -238,11 +217,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -254,9 +229,7 @@ "/bucket/{bucketId}/empty": { "post": { "summary": "Empty a bucket", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "parameters": [ { "schema": { @@ -314,11 +287,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -330,9 +299,7 @@ "/bucket/{bucketId}": { "get": { "summary": "Get details of a bucket", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "parameters": [ { "schema": { @@ -382,10 +349,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ], + "required": ["id", "name"], "additionalProperties": false, "example": { "id": "bucket2", @@ -423,11 +387,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -437,9 +397,7 @@ }, "put": { "summary": "Update properties of a bucket", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "requestBody": { "content": { "application/json": { @@ -480,9 +438,7 @@ "example": "Successfully updated" } }, - "required": [ - "message" - ] + "required": ["message"] } } } @@ -505,11 +461,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -519,9 +471,7 @@ }, "delete": { "summary": "Delete a bucket", - "tags": [ - "bucket" - ], + "tags": ["bucket"], "parameters": [ { "schema": { @@ -579,11 +529,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -595,9 +541,7 @@ "/object/{bucketName}/{wildcard}": { "delete": { "summary": "Delete an object", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -665,11 +609,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -679,9 +619,7 @@ }, "get": { "summary": "Get object", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "description": "use GET /object/authenticated/{bucketName} instead", "parameters": [ { @@ -732,11 +670,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -746,9 +680,7 @@ }, "put": { "summary": "Update the object at an existing key", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -794,9 +726,7 @@ "example": "projectref/avatars/folder/cat.png" } }, - "required": [ - "Key" - ] + "required": ["Key"] } } } @@ -819,11 +749,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -833,9 +759,7 @@ }, "post": { "summary": "Upload a new object", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -881,9 +805,7 @@ "example": "avatars/folder/cat.png" } }, - "required": [ - "Key" - ] + "required": ["Key"] } } } @@ -906,11 +828,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -922,9 +840,7 @@ "/object/{bucketName}": { "delete": { "summary": "Delete multiple objects", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -937,15 +853,10 @@ "type": "string" }, "minItems": 1, - "example": [ - "folder/cat.png", - "folder/morecats.png" - ] + "example": ["folder/cat.png", "folder/morecats.png"] } }, - "required": [ - "prefixes" - ] + "required": ["prefixes"] } } }, @@ -1065,10 +976,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ], + "required": ["id", "name"], "additionalProperties": false, "example": { "id": "bucket2", @@ -1079,9 +987,7 @@ } } }, - "required": [ - "name" - ], + "required": ["name"], "additionalProperties": false, "title": "objectSchema", "example": { @@ -1119,11 +1025,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1135,9 +1037,7 @@ "/object/authenticated/{bucketName}/{wildcard}": { "get": { "summary": "Retrieve an object", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -1188,11 +1088,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1204,9 +1100,7 @@ "/object/sign/{bucketName}/{wildcard}": { "post": { "summary": "Generate a presigned url to retrieve an object", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -1219,9 +1113,7 @@ "example": 60000 } }, - "required": [ - "expiresIn" - ] + "required": ["expiresIn"] } } }, @@ -1272,9 +1164,7 @@ "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4" } }, - "required": [ - "signedURL" - ] + "required": ["signedURL"] } } } @@ -1297,11 +1187,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1311,9 +1197,7 @@ }, "get": { "summary": "Retrieve an object via a presigned URL", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -1365,11 +1249,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1381,9 +1261,7 @@ "/object/sign/{bucketName}": { "post": { "summary": "Generate presigned urls to retrieve objects", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -1401,16 +1279,10 @@ "type": "string" }, "minItems": 1, - "example": [ - "folder/cat.png", - "folder/morecats.png" - ] + "example": ["folder/cat.png", "folder/morecats.png"] } }, - "required": [ - "expiresIn", - "paths" - ] + "required": ["expiresIn", "paths"] } } }, @@ -1449,10 +1321,7 @@ "type": "object", "properties": { "error": { - "error": [ - "string", - "null" - ], + "error": ["string", "null"], "example": "Either the object does not exist or you do not have access to it" }, "path": { @@ -1460,18 +1329,11 @@ "example": "folder/cat.png" }, "signedURL": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "example": "/object/sign/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4" } }, - "required": [ - "error", - "path", - "signedURL" - ] + "required": ["error", "path", "signedURL"] } } } @@ -1495,11 +1357,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1511,9 +1369,7 @@ "/object/move": { "post": { "summary": "Moves an object", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -1533,11 +1389,7 @@ "example": "folder/newcat.png" } }, - "required": [ - "bucketId", - "sourceKey", - "destinationKey" - ] + "required": ["bucketId", "sourceKey", "destinationKey"] } } }, @@ -1568,9 +1420,7 @@ "example": "Successfully moved" } }, - "required": [ - "message" - ] + "required": ["message"] } } } @@ -1593,11 +1443,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1609,9 +1455,7 @@ "/object/list/{bucketName}": { "post": { "summary": "Search for objects under a prefix", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -1637,32 +1481,20 @@ "properties": { "column": { "type": "string", - "enum": [ - "name", - "updated_at", - "created_at", - "last_accessed_at" - ] + "enum": ["name", "updated_at", "created_at", "last_accessed_at"] }, "order": { "type": "string", - "enum": [ - "asc", - "desc" - ] + "enum": ["asc", "desc"] } }, - "required": [ - "column" - ] + "required": ["column"] }, "search": { "type": "string" } }, - "required": [ - "prefix" - ] + "required": ["prefix"] } } }, @@ -1780,10 +1612,7 @@ "type": "string" } }, - "required": [ - "id", - "name" - ], + "required": ["id", "name"], "additionalProperties": false, "example": { "id": "bucket2", @@ -1794,9 +1623,7 @@ } } }, - "required": [ - "name" - ], + "required": ["name"], "additionalProperties": false, "example": { "name": "folder/cat.png", @@ -1833,11 +1660,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1849,9 +1672,7 @@ "/object/copy": { "post": { "summary": "Copies an object", - "tags": [ - "object" - ], + "tags": ["object"], "requestBody": { "content": { "application/json": { @@ -1871,11 +1692,7 @@ "example": "folder/destination.png" } }, - "required": [ - "sourceKey", - "bucketId", - "destinationKey" - ] + "required": ["sourceKey", "bucketId", "destinationKey"] } } }, @@ -1906,9 +1723,7 @@ "example": "folder/destination.png" } }, - "required": [ - "Key" - ] + "required": ["Key"] } } } @@ -1931,11 +1746,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } } @@ -1947,9 +1758,7 @@ "/object/public/{bucketName}/{wildcard}": { "get": { "summary": "Retrieve an object from a public bucket", - "tags": [ - "object" - ], + "tags": ["object"], "parameters": [ { "schema": { @@ -1991,11 +1800,7 @@ "type": "string" } }, - "required": [ - "statusCode", - "error", - "message" - ], + "required": ["statusCode", "error", "message"], "title": "errorSchema" } }